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>
This commit is contained in:
Simon Marchi
2023-10-17 15:37:58 -04:00
parent 30932f4012
commit 3fe0dfd160
25 changed files with 126 additions and 128 deletions

View File

@@ -31,7 +31,7 @@ struct ui;
class completion_tracker;
struct thread_info;
struct inferior;
struct so_list;
struct shobj;
struct trace_state_variable;
typedef struct interp *(*interp_factory_func) (const char *name);
@@ -147,10 +147,10 @@ public:
virtual void on_target_resumed (ptid_t ptid) {}
/* Notify the interpreter that solib SO has been loaded. */
virtual void on_solib_loaded (const so_list &so) {}
virtual void on_solib_loaded (const shobj &so) {}
/* Notify the interpreter that solib SO has been unloaded. */
virtual void on_solib_unloaded (const so_list &so) {}
virtual void on_solib_unloaded (const shobj &so) {}
/* Notify the interpreter that a command it is executing is about to cause
the inferior to proceed. */
@@ -324,10 +324,10 @@ extern void interps_notify_record_changed (inferior *inf, int started,
extern void interps_notify_target_resumed (ptid_t ptid);
/* Notify all interpreters that solib SO has been loaded. */
extern void interps_notify_solib_loaded (const so_list &so);
extern void interps_notify_solib_loaded (const shobj &so);
/* Notify all interpreters that solib SO has been unloaded. */
extern void interps_notify_solib_unloaded (const so_list &so);
extern void interps_notify_solib_unloaded (const shobj &so);
/* Notify all interpreters that the selected traceframe changed.