This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Remote Debugging
- From: Tim <Tim at deltacompsys dot com>
- To: gdb at sources dot redhat dot com
- Date: 12 Dec 2002 09:29:56 -0800
- Subject: Remote Debugging
I running gdb 5.2-2 and gdbserver. Remotely I'm running kernel 2.4-19.
I compiled gdbserver against uClibc. My app is statically compiled
against glibc 6.
My remote device is an x86 board.
My app is compiled with -ggdb and is not stripped on either the remote
or the host.
I start gdbserver 192.168.0.1:2345 myapp -options on the remote device.
I start gdb on the host and give it the command target remote
192.168.0.2:2345
the remote device shows a connection from my host.
then I give it the command load myapp.
After all this I cannot view any source. The 'l' command returns the
error 'no symbol table loaded' and instructs me to use file.
What am I doing wrong?
thanx!