aboutsummaryrefslogtreecommitdiff
path: root/gdb/annotate.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/annotate.c
parent652099717dbb767c9d3eaed4c533486dd99d5e5b (diff)
downloadbinutils-cdc22ffbf5c76b9fb907bdec700c19d350abb226.zip
binutils-cdc22ffbf5c76b9fb907bdec700c19d350abb226.tar.gz
binutils-cdc22ffbf5c76b9fb907bdec700c19d350abb226.tar.bz2
gdb: remove SYMTAB_PSPACE macro
Remove the macro, replace with an equivalent method. Change-Id: Icccc20e7e8ae03ac4dac1c7514c25a12a9a0ac69
Diffstat (limited to 'gdb/annotate.c')
-rw-r--r--gdb/annotate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/annotate.c b/gdb/annotate.c
index b84d8f0..7201d9a 100644
--- a/gdb/annotate.c
+++ b/gdb/annotate.c
@@ -453,7 +453,7 @@ annotate_source_line (struct symtab *s, int line, int mid_statement,
/* Update the current symtab and line. */
symtab_and_line sal;
- sal.pspace = SYMTAB_PSPACE (s);
+ sal.pspace = s->pspace ();
sal.symtab = s;
sal.line = line;
set_current_source_symtab_and_line (sal);