mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
gdb: remove COMPUNIT_DEBUGFORMAT macro, add getter/setter
Add a getter and a setter for a compunit_symtab's debugformat. Remove the corresponding macro and adjust all callers. Change-Id: I1667b02d5322346f8e23abd9f8a584afbcd75975
This commit is contained in:

committed by
Simon Marchi

parent
510860f278
commit
422f1ea279
@ -777,7 +777,7 @@ maintenance_info_symtabs (const char *regexp, int from_tty)
|
||||
printf_filtered (" { ((struct compunit_symtab *) %s)\n",
|
||||
host_address_to_string (cust));
|
||||
printf_filtered (" debugformat %s\n",
|
||||
COMPUNIT_DEBUGFORMAT (cust));
|
||||
cust->debugformat ());
|
||||
printf_filtered (" producer %s\n",
|
||||
COMPUNIT_PRODUCER (cust) != NULL
|
||||
? COMPUNIT_PRODUCER (cust)
|
||||
|
Reference in New Issue
Block a user