aboutsummaryrefslogtreecommitdiff
path: root/gdb/bsd-uthread.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-09-27 16:39:36 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-10-02 11:53:21 -0400
commitbd93891c9ae1adda01631459eb8da8309a2f9d60 (patch)
treedcbc56b5c79270ca82f2ced23a5b89b666582747 /gdb/bsd-uthread.c
parentdc63d5682e48ab64724a2da2ee803cd13bf5f0c0 (diff)
downloadbinutils-bd93891c9ae1adda01631459eb8da8309a2f9d60.zip
binutils-bd93891c9ae1adda01631459eb8da8309a2f9d60.tar.gz
binutils-bd93891c9ae1adda01631459eb8da8309a2f9d60.tar.bz2
gdb: remove solib::pspace field
This backlink is not necessary, we always know the program space from the context. Pass it down the solib_unloaded observer. Change-Id: I45a503472dc791f517558b8141901472634e0556 Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/bsd-uthread.c')
-rw-r--r--gdb/bsd-uthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/bsd-uthread.c b/gdb/bsd-uthread.c
index d5c6fdd..e27e88a 100644
--- a/gdb/bsd-uthread.c
+++ b/gdb/bsd-uthread.c
@@ -294,7 +294,7 @@ bsd_uthread_solib_loaded (struct so_list *so)
}
static void
-bsd_uthread_solib_unloaded (struct so_list *so)
+bsd_uthread_solib_unloaded (program_space *pspace, so_list *so)
{
if (!bsd_uthread_solib_name)
return;