gdb: remove SYMTAB_PSPACE macro

Remove the macro, replace with an equivalent method.

Change-Id: Icccc20e7e8ae03ac4dac1c7514c25a12a9a0ac69
This commit is contained in:
Simon Marchi 2021-11-20 22:23:01 -05:00
parent 652099717d
commit cdc22ffbf5
5 changed files with 32 additions and 23 deletions

View file

@ -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);