|
List Info
Thread: Whats things the gdbserver and gdb communicates when startup a program?
|
|
| Whats things the gdbserver and gdb
communicates when startup a program? |

|
2008-02-13 07:40:32 |
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
|
|
| Re: Whats things the gdbserver and gdb
communicates when startup a program? |
  United States |
2008-02-13 07:45:37 |
On Wed, Feb 13, 2008 at 09:40:32PM +0800, Bin Chen wrote:
> I just want to know whats data is transfered? In my
case how much data
> need to transferred to / from target/host?
You can use "set debug remote" and the GDB manual
to see what is
transferred.
--
Daniel Jacobowitz
CodeSourcery
|
|
| Re: Whats things the gdbserver and gdb
communicates when startup a program? |

|
2008-02-13 08:27:20 |
On Wed, Feb 13, 2008 at 9:45 PM, Daniel Jacobowitz
<drow false.org> wrote:
> On Wed, Feb 13, 2008 at 09:40:32PM +0800, Bin Chen
wrote:
> > I just want to know whats data is transfered? In
my case how much data
> > need to transferred to / from target/host?
>
> You can use "set debug remote" and the GDB
manual to see what is
> transferred.
>
Thanks!
Do you think it is normal for the 10Mbps network card use
hundreds of
second to transfer the gdb data for my 10M + library size?
Bin
|
|
| Re: Whats things the gdbserver and gdb
communicates when startup a program? |
  United States |
2008-02-13 08:37:47 |
On Wed, Feb 13, 2008 at 10:27:20PM +0800, Bin Chen wrote:
> Thanks!
> Do you think it is normal for the 10Mbps network card
use hundreds of
> second to transfer the gdb data for my 10M + library
size?
No. It doesn't transfer the library. Startup data is
usually no more
than 2K.
--
Daniel Jacobowitz
CodeSourcery
|
|
| Re: Whats things the gdbserver and gdb
communicates when startup a program? |

|
2008-02-13 18:07:13 |
OK, I try to find the problem.
On Wed, Feb 13, 2008 at 10:37 PM, Daniel Jacobowitz
<drow false.org> wrote:
> On Wed, Feb 13, 2008 at 10:27:20PM +0800, Bin Chen
wrote:
> > Thanks!
> > Do you think it is normal for the 10Mbps network
card use hundreds of
> > second to transfer the gdb data for my 10M +
library size?
>
> No. It doesn't transfer the library. Startup data is
usually no more
> than 2K.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
|
|
[1-5]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|