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

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