From 3fe0dfd1604f9bf8d51a7473f7f27e16242986be Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 17 Oct 2023 15:37:58 -0400 Subject: 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 Reviewed-By: Reviewed-By: Lancelot Six --- gdb/break-catch-load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/break-catch-load.c') 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) -- cgit v1.1