beginner running gdbserver

Salil Parikh
Thu Nov 1 10:18:00 GMT 2001

I have a newbie question about how to actually run gdb with gdbserver.

I have two computers: "myclient" runs gdb,and "mytarget" runs the
gdbserver.  Both computers are running redhat 7.0.

>From "myclient", I invoke gdb and do the following:

(gdb) target remote mytarget:1234 
mytarget:1234: Success.
(gdb) Quit

It says "Success", but this is bogus.  It doesn't appear to touch the
gdbserver.  In fact, "mytarget" doesn't even exist!  I must be doing
wrong.  Any pointers?

More information about the Gcc-help mailing list