Whats things the gdbserver and gdb communicates when startup a program?

Bin Chen binary.chen@gmail.com
Wed Feb 13 13:40:00 GMT 2008


Hello,

I am debugging a remote program in a MIPS board. This program is small
but it uses a large library(8M bytes, stripped). The library in my
host is far more large, unstripped, about 10M bytes.
When I start the program in the target:

gdbserver :9988 GtkLanucher

Then start gdb from host:

gdb GtkLauncher

blahblahblah...
> target remote 192.168.3.2:9988

Then the gdb stuck(actually is transferring some data thru network,
according the capture from ethereal).
Honestly my target's network card is buggy, not capable to run in a
long time. After several minutes, all things broken...

I just want to know whats data is transfered? In my case how much data
need to transferred to / from target/host?

Thanks.
Bin



More information about the Gdb mailing list