aboutsummaryrefslogtreecommitdiff
path: root/gdb/source-cache.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-06-26 13:12:13 -0600
committerTom Tromey <tromey@adacore.com>2019-07-10 12:43:38 -0600
commit22a20dca3a96c481093bdff5e17f1feb0f9e345c (patch)
tree63871027e7d8f72c66b9726d17f0bc9503721744 /gdb/source-cache.c
parentcb60f4208b2b920614306937b62bf15700824ee0 (diff)
downloadgdb-22a20dca3a96c481093bdff5e17f1feb0f9e345c.zip
gdb-22a20dca3a96c481093bdff5e17f1feb0f9e345c.tar.gz
gdb-22a20dca3a96c481093bdff5e17f1feb0f9e345c.tar.bz2
Change dbxread.c to use type-safe registry
This changes dbxread.c to use the type-safe registry. In a couple of spots, you'll see that dbx_objfile_data_key.emplace is called but the result is not used; this is because those functions refer to the key via the various DBX_* macros. 2019-07-10 Tom Tromey <tromey@adacore.com> * gdb-stabs.h (struct dbx_symfile_info): Add initializers and destructor. (dbx_objfile_data_key): Change type and declare later. (DBX_SYMFILE_INFO): Rewrite. * dbxread.c (dbx_objfile_data_key): Change type. (dbx_symfile_init): Update. (~dbx_symfile_info): Rename from dbx_free_symfile_info. Update. (coffstab_build_psymtabs, elfstab_build_psymtabs) (stabsect_build_psymtabs, _initialize_dbxread): Update.
Diffstat (limited to 'gdb/source-cache.c')
0 files changed, 0 insertions, 0 deletions