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
|
@ -1407,6 +1407,8 @@ struct symtab
|
|||
|
||||
struct objfile *objfile () const;
|
||||
|
||||
program_space *pspace () const;
|
||||
|
||||
/* Unordered chain of all filetabs in the compunit, with the exception
|
||||
that the "main" source file is the first entry in the list. */
|
||||
|
||||
|
@ -1439,7 +1441,6 @@ struct symtab
|
|||
|
||||
using symtab_range = next_range<symtab>;
|
||||
|
||||
#define SYMTAB_PSPACE(symtab) ((symtab)->objfile ()->pspace)
|
||||
#define SYMTAB_DIRNAME(symtab) ((symtab)->compunit ()->dirname ())
|
||||
|
||||
/* Compunit symtabs contain the actual "symbol table", aka blockvector, as well
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue