diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-10-17 15:37:58 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-10-19 11:14:26 -0400 |
commit | 3fe0dfd1604f9bf8d51a7473f7f27e16242986be (patch) | |
tree | 29cbbacf6997fd331d8d383de4546f0482bd87a2 /gdb/break-catch-load.c | |
parent | 30932f40120fa64147f8b5f7d9e4c462825c4e47 (diff) | |
download | binutils-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/break-catch-load.c')
-rw-r--r-- | gdb/break-catch-load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/break-catch-load.c b/gdb/break-catch-load.c index 76a7ce5..02a98b5 100644 --- a/gdb/break-catch-load.c +++ b/gdb/break-catch-load.c @@ -117,7 +117,7 @@ solib_catchpoint::check_status (struct bpstat *bs) { if (is_load) { - for (so_list *iter : current_program_space->added_solibs) + for (shobj *iter : current_program_space->added_solibs) { if (!regex || compiled->exec (iter->so_name.c_str (), 0, nullptr, 0) == 0) |