aboutsummaryrefslogtreecommitdiff
path: root/gdb/bsd-uthread.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-10-17 15:37:58 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-10-19 11:14:26 -0400
commit3fe0dfd1604f9bf8d51a7473f7f27e16242986be (patch)
tree29cbbacf6997fd331d8d383de4546f0482bd87a2 /gdb/bsd-uthread.c
parent30932f40120fa64147f8b5f7d9e4c462825c4e47 (diff)
downloadgdb-3fe0dfd1604f9bf8d51a7473f7f27e16242986be.zip
gdb-3fe0dfd1604f9bf8d51a7473f7f27e16242986be.tar.gz
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/bsd-uthread.c')
-rw-r--r--gdb/bsd-uthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/bsd-uthread.c b/gdb/bsd-uthread.c
index 8144f8c..f3cf517 100644
--- a/gdb/bsd-uthread.c
+++ b/gdb/bsd-uthread.c
@@ -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;