aboutsummaryrefslogtreecommitdiff
path: root/gdb/solist.h
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/solist.h
parentdc63d5682e48ab64724a2da2ee803cd13bf5f0c0 (diff)
downloadgdb-bd93891c9ae1adda01631459eb8da8309a2f9d60.zip
gdb-bd93891c9ae1adda01631459eb8da8309a2f9d60.tar.gz
gdb-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/solist.h')
-rw-r--r--gdb/solist.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/solist.h b/gdb/solist.h
index 5275a79..0f764b2 100644
--- a/gdb/solist.h
+++ b/gdb/solist.h
@@ -55,9 +55,6 @@ struct so_list
/* Shared object file name, expanded to something GDB can open. */
char so_name[SO_NAME_MAX_PATH_SIZE];
- /* Program space this shared library belongs to. */
- struct program_space *pspace;
-
/* The following fields of the structure are built from
information gathered from the shared object file itself, and
are set when we actually add it to our symbol tables.