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/breakpoint.c | |
parent | 30932f40120fa64147f8b5f7d9e4c462825c4e47 (diff) | |
download | fsf-binutils-gdb-3fe0dfd1604f9bf8d51a7473f7f27e16242986be.zip fsf-binutils-gdb-3fe0dfd1604f9bf8d51a7473f7f27e16242986be.tar.gz fsf-binutils-gdb-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/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 3ddd162..828c99c 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -5046,7 +5046,7 @@ print_solib_event (bool is_catchpoint) current_uiout->text (_(" Inferior loaded ")); ui_out_emit_list list_emitter (current_uiout, "added"); bool first = true; - for (so_list *iter : current_program_space->added_solibs) + for (shobj *iter : current_program_space->added_solibs) { if (!first) current_uiout->text (" "); @@ -8018,8 +8018,7 @@ disable_breakpoints_in_shlibs (void) disabled ones can just stay disabled. */ static void -disable_breakpoints_in_unloaded_shlib (program_space *pspace, - const so_list &solib) +disable_breakpoints_in_unloaded_shlib (program_space *pspace, const shobj &solib) { bool disabled_shlib_breaks = false; |