This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH: per-inferior register cache for gdbserver
> Um, would there be more benefit in getting this sort of thing
>> implemented in the core of GDB? I just don't see a per-lwp cache in the
>> remote target making much difference to GDB's thread debugging performance.
> I can get numbers later on how many register fetches it
> actually saves; I suspect it's fairly small.
Can you please add a comment to the code explaining this - it more of a
design benefit than a performance benefit (the performance gains are
unknown).
You'll notice that I'm sitting on the frame cache patch because I'm
still analyzing its effect. GDB already contains too much code that
``claims to improve performance''.
enjoy,
Andrew