aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2021-11-20 22:23:01 -0500
committerSimon Marchi <simon.marchi@efficios.com>2022-02-06 16:03:46 -0500
commitcdc22ffbf5c76b9fb907bdec700c19d350abb226 (patch)
treeaa9d730ff474371ca3038ce509d7ee89ee24ab6a /gdb/source.c
parent652099717dbb767c9d3eaed4c533486dd99d5e5b (diff)
downloadfsf-binutils-gdb-cdc22ffbf5c76b9fb907bdec700c19d350abb226.zip
fsf-binutils-gdb-cdc22ffbf5c76b9fb907bdec700c19d350abb226.tar.gz
fsf-binutils-gdb-cdc22ffbf5c76b9fb907bdec700c19d350abb226.tar.bz2
gdb: remove SYMTAB_PSPACE macro
Remove the macro, replace with an equivalent method. Change-Id: Icccc20e7e8ae03ac4dac1c7514c25a12a9a0ac69
Diffstat (limited to 'gdb/source.c')
-rw-r--r--gdb/source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/source.c b/gdb/source.c
index d184990..1339c4a 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -311,7 +311,7 @@ select_source_symtab (struct symtab *s)
if (s)
{
current_source_location *loc
- = get_source_location (SYMTAB_PSPACE (s));
+ = get_source_location (s->pspace ());
loc->set (s, 1);
return;
}