This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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!




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]