aboutsummaryrefslogtreecommitdiff
path: root/gdb/progspace.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-10-17 15:37:58 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-10-19 11:14:26 -0400
commit3fe0dfd1604f9bf8d51a7473f7f27e16242986be (patch)
tree29cbbacf6997fd331d8d383de4546f0482bd87a2 /gdb/progspace.c
parent30932f40120fa64147f8b5f7d9e4c462825c4e47 (diff)
downloadbinutils-3fe0dfd1604f9bf8d51a7473f7f27e16242986be.zip
binutils-3fe0dfd1604f9bf8d51a7473f7f27e16242986be.tar.gz
binutils-3fe0dfd1604f9bf8d51a7473f7f27e16242986be.tar.bz2
gdb: rename struct so_list to shobj
Now that so_list lists are implemented using intrusive_list, it doesn't really make sense for the element type to be named "_list". Rename to just `struct shobj` (`struct so` was deemed to be not greppable enough). Change-Id: I1063061901298bb40fee73bf0cce44cd12154c0e Approved-By: Pedro Alves <pedro@palves.net> Reviewed-By: Reviewed-By: Lancelot Six <lancelot.six@amd.com>
Diffstat (limited to 'gdb/progspace.c')
-rw-r--r--gdb/progspace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/progspace.c b/gdb/progspace.c
index 4b816b4..cca651f 100644
--- a/gdb/progspace.c
+++ b/gdb/progspace.c
@@ -132,7 +132,7 @@ void
program_space::free_all_objfiles ()
{
/* Any objfile reference would become stale. */
- for (const struct so_list &so : current_program_space->solibs ())
+ for (const shobj &so : current_program_space->solibs ())
gdb_assert (so.objfile == NULL);
while (!objfiles_list.empty ())