GDB now takes 4 minutes to start up with remote gdbserver target

Frank Ch. Eigler fche@redhat.com
Sun Jul 26 20:03:00 GMT 2015


palves wrote:

> [...]
> But in that scenario, with the old default sysroot, how was gdb finding
> the binaries on the build host?  The binaries on the equilalent locations
> on the host's root will certainly not match the embedded/target system's.
> [...]
> regressing is the case where the host and target share both the
> filesystem, and the host/target paths match.  I don't know off hand how to
> make gdb aware of that automatically.
> [...]

GDB could grow a qCRC type packet for the remote file server, so as to let
it compare the remote files to the local ones.  (Or even qRSYNC :-)

- FChE



More information about the Gdb mailing list