[PATCH v2 0/8] Demangle minimal symbol names in worker threads

Andrew Burgess andrew.burgess@embecosm.com
Tue May 21 16:21:00 GMT 2019


* Tom Tromey <tom@tromey.com> [2019-05-21 11:45:21 -0400]:

> >>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:
> 
> >> I think that most users don't know what most programs do under the hood;
> >> nor should they need to.  I suppose in some extreme situation maybe
> >> someone would want to do this, but disabling threading in this case
> >> should be good enough.  Users like this should probably use gdbserver
> >> instead though.
> 
> Andrew> Sorry for being really slow, but how does gdbserver help here?  The
> Andrew> threads are to help GDB parse the symbols/debug information from the
> Andrew> ELF, right?  In most cases GDB will still be parsing the symbols/debug
> Andrew> from the ELF at the GDB end, not the gdbserver end.
> 
> My understanding is that the scenario is wanting to limit threads so
> that one can run gdb on some resource-constrained machine.  In this
> situation it's better to run gdbserver on the limited machine and run
> gdb on one's desktop.

Told you I was being slow :) that makes perfect sense.

Thanks,
Andrew



More information about the Gdb-patches mailing list