PATCH: per-inferior register cache for gdbserver
Andrew Cagney
ac131313@cygnus.com
Sat Apr 20 18:23:00 GMT 2002
> 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
More information about the Gdb-patches
mailing list