Hi,
with the proposal: https://fedoraproject.org/wiki/Features/RetraceServer
and its core files upload feature I tried to provide a gdbserver interface for the core files instead as the upload can be slow. FSF gdbserver cannot load core files so created a simple new gdbserver for it: git://git.fedorahosted.org/git/elfutils.git branch: jankratochvil/gdbserver src/gdbserver.c * Currently threading is not supported. * Currently only x86_64 is supported (the NOTE registers layout).
In my current setup of: * link RTT (round trip time): 272ms * uplink speed: 1Mbit * core file from openoffice.org: 74M * core file from openoffice.org xz -9e: 8.6M
I get: 1m35.685s: scp upload. 1m31.144s: gdbserver with gdb LINE_SIZE_POWER == 12 (0x1000). 3m55.867s: gdbserver with gdb default LINE_SIZE_POWER == 6 ( 0x40).
Just I guess usually people have lower RTT and lower uplink, don't they? In such case the results would be much more in the favor of gdbserver.
Still in none of the cases it completes in 60 seconds after which you kill current GDB. So you are going to be killing even the upload processes.
I can finish the two missing features if there is an interest in it.
Thanks, Jan