aboutsummaryrefslogtreecommitdiff
path: root/gdb/progspace.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2024-02-05 15:18:33 -0500
committerSimon Marchi <simon.marchi@efficios.com>2024-02-05 16:10:15 -0500
commit7b323785ef83a7d6f023909fe21b7983651c3f27 (patch)
treeb1833dfb62b268955f3be8af5aa7493e9ad92c15 /gdb/progspace.c
parent68d3bf7d246321407697aeb036036dae1a99a742 (diff)
downloadbinutils-7b323785ef83a7d6f023909fe21b7983651c3f27.zip
binutils-7b323785ef83a7d6f023909fe21b7983651c3f27.tar.gz
binutils-7b323785ef83a7d6f023909fe21b7983651c3f27.tar.bz2
gdb: rename struct shobj -> struct solib
`struct so_list` was recently renamed to `struct shobj` (in 3fe0dfd1604f ("gdb: rename struct so_list to shobj")). In hindsight, `solib` would have been a better name. We have solib.c, the implementations in solib-*.c, many functions with solib in their name, the solib_loaded / solib_unloaded observables, etc. Rename shobj to solib. Change-Id: I0af1c7a9b29bdda027e9af633f6d37e1cfcacd5d Approved-By: Tom Tromey <tom@tromey.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 cc17da3..cda0f41 100644
--- a/gdb/progspace.c
+++ b/gdb/progspace.c
@@ -130,7 +130,7 @@ void
program_space::free_all_objfiles ()
{
/* Any objfile reference would become stale. */
- for (const shobj &so : current_program_space->solibs ())
+ for (const solib &so : current_program_space->solibs ())
gdb_assert (so.objfile == NULL);
while (!objfiles_list.empty ())