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/source.c | |
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/source.c')
-rw-r--r-- | gdb/source.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/source.c b/gdb/source.c index 32099b9..3410e86 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -27,6 +27,7 @@ #include "value.h" #include "gdbsupport/filestuff.h" +#include <list> #include <sys/types.h> #include <fcntl.h> #include "gdbcore.h" |