gdb: remove COMPUNIT_MACRO_TABLE macro, add getter/setter
Add a getter and a setter for a compunit_symtab's macro table. Remove the corresponding macro and adjust all callers. Change-Id: I00615ea72d5ac43d9a865e941cb2de0a979c173a
This commit is contained in:
parent
3908b699f8
commit
10cc645b6a
5 changed files with 17 additions and 9 deletions
|
@ -729,8 +729,8 @@ info_source_command (const char *ignore, int from_tty)
|
|||
printf_filtered (_("Compiled with %s debugging format.\n"),
|
||||
cust->debugformat ());
|
||||
printf_filtered (_("%s preprocessor macro info.\n"),
|
||||
COMPUNIT_MACRO_TABLE (cust) != NULL
|
||||
? "Includes" : "Does not include");
|
||||
(cust->macro_table () != nullptr
|
||||
? "Includes" : "Does not include"));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue