Dear Newsgroup,
I would like to use gdb to debug my programs. Therefor I compiled the
usual “Hello world!” C-Program with the option -g and started the
debugger. After setting a break point I would like to run the program.
gdb responds with the message: “Running program hello.” But nothing else
happend. I tried to step through the program with ‘n’ and ‘s’ but it
didn’t work. The error message was: “Could not find end of function.”
Where is the mistake? In Linux environment this procedure is successful.
If it matters: I’m using QNX RTP 6.1
Thanks, Thomas
–
Thomas Reisinger
t.reisinger@tu-bs.de
You have to issue the “continue” command. It’s a QNX-ism.
chris
Thomas Reisinger <t.reisinger@tu-bs.de> wrote:
Dear Newsgroup,
I would like to use gdb to debug my programs. Therefor I compiled the
usual “Hello world!” C-Program with the option -g and started the
debugger. After setting a break point I would like to run the program.
gdb responds with the message: “Running program hello.” But nothing else
happend. I tried to step through the program with ‘n’ and ‘s’ but it
didn’t work. The error message was: “Could not find end of function.”
Where is the mistake? In Linux environment this procedure is successful.
If it matters: I’m using QNX RTP 6.1
Thanks, Thomas
–
Thomas Reisinger
t.reisinger@tu-bs.de
–
Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/