gdb: remove SYMTAB_PSPACE macro
Remove the macro, replace with an equivalent method. Change-Id: Icccc20e7e8ae03ac4dac1c7514c25a12a9a0ac69
This commit is contained in:
parent
652099717d
commit
cdc22ffbf5
5 changed files with 32 additions and 23 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue