aboutsummaryrefslogtreecommitdiff
path: root/gdb/break-catch-load.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/break-catch-load.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/break-catch-load.c')
-rw-r--r--gdb/break-catch-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/break-catch-load.c b/gdb/break-catch-load.c
index b2106ac8..9582a7c 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 (shobj *iter : current_program_space->added_solibs)
+ for (solib *iter : current_program_space->added_solibs)
{
if (!regex
|| compiled->exec (iter->so_name.c_str (), 0, nullptr, 0) == 0)