Go forward to Remote configuration
Go backward to Server
Go up to Remote Debugging
Go to the top op gdb
Using the `gdbserve.nlm' program
`gdbserve.nlm' is a control program for NetWare systems, which allows
you to connect your program with a remote GDB via `target remote'.
GDB and `gdbserve.nlm' communicate via a serial line, using the
standard GDB remote serial protocol.
_On the target machine,_
you need to have a copy of the program you want to debug.
`gdbserve.nlm' does not need your program's symbol table, so you
can strip the program if necessary to save space. GDB on the host
system does all the symbol handling.
To use the server, you must tell it how to communicate with GDB;
the name of your program; and the arguments for your program. The
load gdbserve [ BOARD=BOARD ] [ PORT=PORT ]
[ BAUD=BAUD ] PROGRAM [ ARGS ... ]
BOARD and PORT specify the serial line; BAUD specifies the baud
rate used by the connection. PORT and NODE default to 0, BAUD
defaults to 9600bps.
For example, to debug Emacs with the argument `foo.txt'and
communicate with GDB over serial port number 2 or board 1 using a
load gdbserve BOARD=1 PORT=2 BAUD=19200 emacs foo.txt
On the GDB host machine, connect to your target (*note Connecting
to a remote target: Connecting.).
Created Mon Nov 8 17:42:39 2004 on tillpc with info_to_html version 0.9.6.