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

@@ -275,7 +275,7 @@ static const char * const bsd_uthread_solib_names[] =
};
static void
bsd_uthread_solib_loaded (so_list &so)
bsd_uthread_solib_loaded (shobj &so)
{
const char * const *names = bsd_uthread_solib_names;
@@ -295,7 +295,7 @@ bsd_uthread_solib_loaded (so_list &so)
}
static void
bsd_uthread_solib_unloaded (program_space *pspace, const so_list &so)
bsd_uthread_solib_unloaded (program_space *pspace, const shobj &so)
{
if (bsd_uthread_solib_name.empty ())
return;