diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-11-04 13:27:45 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-11-25 22:07:04 -0500 |
commit | 112f6d85fb6e18c8eb0384527cdff52ade1e7e24 (patch) | |
tree | 6dc43b7e9014b86a3529715eef8fca9731e4f245 /gdb/value.h | |
parent | c4b94535295625fe259868899b7cae54c40e60c3 (diff) | |
download | binutils-112f6d85fb6e18c8eb0384527cdff52ade1e7e24.zip binutils-112f6d85fb6e18c8eb0384527cdff52ade1e7e24.tar.gz binutils-112f6d85fb6e18c8eb0384527cdff52ade1e7e24.tar.bz2 |
Convert type copying to new hash table
This converts the type copying code to use the new hash map.
Change-Id: I35f0a4946dcc5c5eb84820126cf716b600f3302f
Co-Authored-By: Tom Tromey <tom@tromey.com>
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/value.h b/gdb/value.h index 13cfb00..c8166a7 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -24,12 +24,12 @@ #include "extension.h" #include "gdbsupport/gdb_ref_ptr.h" #include "gmp-utils.h" +#include "gdbtypes.h" struct block; struct expression; struct regcache; struct symbol; -struct type; struct ui_file; struct language_defn; struct value_print_options; @@ -593,7 +593,7 @@ public: /* Update this value before discarding OBJFILE. COPIED_TYPES is used to prevent cycles / duplicates. */ - void preserve (struct objfile *objfile, htab_t copied_types); + void preserve (struct objfile *objfile, copied_types_hash_t &copied_types); /* Unpack a bitfield of BITSIZE bits found at BITPOS in the object at VALADDR + EMBEDDEDOFFSET that has the type of DEST_VAL and |