GNU Debugger

bridged with qdn.public.devtools
Post Reply
Thomas Reisinger

GNU Debugger

Post by Thomas Reisinger » Tue Feb 25, 2003 5:49 pm

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

Re: GNU Debugger

Post by Chris McKillop » Tue Feb 25, 2003 6:12 pm

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/

Post Reply

Return to “qdn.public.devtools”