aboutsummaryrefslogtreecommitdiff
path: root/gdb/ax-gdb.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-05-28 09:08:47 -0600
committerTom Tromey <tom@tromey.com>2022-07-28 14:16:50 -0600
commit8126c055e453a494a72a44c9cce39fa8ddf14607 (patch)
tree646eea618bb784a1a74bfd8515976e078ff6503a /gdb/ax-gdb.h
parent08b8a139c9e8adcb4ec12a8a17e5836b8b5acb63 (diff)
downloadgdb-8126c055e453a494a72a44c9cce39fa8ddf14607.zip
gdb-8126c055e453a494a72a44c9cce39fa8ddf14607.tar.gz
gdb-8126c055e453a494a72a44c9cce39fa8ddf14607.tar.bz2
Change registry to use less memory
The registry code creates "registry_data" objects that hold the free function and the index; then the registry keys refer to this object. However, only the index is really useful, and now that registries have a private implementation, just the index can be stored and we can reduce the memory use of registries a little bit. This also simplifies the code somewhat.
Diffstat (limited to 'gdb/ax-gdb.h')
0 files changed, 0 insertions, 0 deletions