diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2024-07-11 12:07:00 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2024-11-11 11:28:24 -0500 |
commit | fa15972b68a6745eea5f7c1dfe8b6b0c3bd3bc45 (patch) | |
tree | 41a846effbe604a60fe3f5ab261f2b6fb3266d81 /gdb/objfiles.h | |
parent | 427cc3b541e65b24b78bddb5c0672e871947132c (diff) | |
download | binutils-fa15972b68a6745eea5f7c1dfe8b6b0c3bd3bc45.zip binutils-fa15972b68a6745eea5f7c1dfe8b6b0c3bd3bc45.tar.gz binutils-fa15972b68a6745eea5f7c1dfe8b6b0c3bd3bc45.tar.bz2 |
gdb/progspace: link objfiles using owning_intrusive_list
This simplifies things a little bit, removing some `find_if` when
inserting or removing objfiles, and the whole
unwrapping_objfile_iterator thing.
Change-Id: Idd1851d36c7834820c9c1639a6a252de643eafba
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r-- | gdb/objfiles.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h index d92570a..bd65e2b 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -418,7 +418,7 @@ struct obj_section symbols, lookup_symbol is used to check if we only have a partial symbol and if so, read and expand the full compunit. */ -struct objfile +struct objfile : intrusive_list_node<objfile> { private: |