This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

"TCP retransmission" in Downloading from GDB




Hi,

In GDB, when I use the following commands :


$ powerpc-eabi-gdb 543560.elf
GNU gdb 6.1 (eCosCentric)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin --target=powerpc-eabi"...

(gdb) target remote 192.168.1.3:9000
Remote debugging using 192.168.1.3:9000
0x00014528 in ?? ()
warning: no shared library support for this OS / ABI

(gdb) load
Loading section .text, size 0x7ac2c lma 0x71000
Loading section .rodata, size 0x9ff0 lma 0xebc30
Loading section .eh_frame, size 0x94 lma 0xf5c20
Loading section .data, size 0x1e51 lma 0xf5cb8
Start address 0x71000, load size 551681
Transfer rate: 49038 bits/sec, 510 bytes/write.
(gdb)


the transfer rate of the download is very slow (up to 120 seconds) and I notice
via an Ethernet Analyser that there are a lot of "TCP Retransmission" that
explain the problem.

But when I use the GUI GDB with the "powerpc-eabi-insight" command and I
download the same elf file, there are no "TCP Retransmission" and it takes just
2 seconds for downloading.

I don't understand what are the TCP difference between the GUI and the CLI of
GDB.
Does someone get the same differences on TCP between GUI and CLI ?
Do I forget a GDB option in the CLI GDB command ?

Thanks,

Emmanuel Coullien




NOTE : CE COURRIER ELECTRONIQUE EST DESTINE EXCLUSIVEMENT AU(X) DESTINATAIRE(S) MENTIONNE(S) CI-DESSUS ET PEUT CONTENIR DES INFORMATIONS PRIVILEGIEES, CONFIDENTIELLES ET/OU ET/OU NON SOUMISES A DIVULGATION AUX TERMES DES LOIS APPLICABLES .  SI VOUS AVEZ RECU CE MESSAGE PAR ERREUR , OU S'IL NE VOUS EST PAS DESTINE, VEUILLEZ  LES SIGNALER IMMEDIATEMENT A L'EXPEDITEUR ET EFFACER CE COURRIER ELECTRONIQUE.

NOTE: This e-mail message is intended only for the named recipient(s) above and may contain information that is privileged, confidential and/or exempt from disclosure under applicable law.  If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this e-mail message.


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