gdb: remove COMPUNIT_DEBUGFORMAT macro, add getter/setter
authorSimon Marchi <simon.marchi@efficios.com>
Sat, 20 Nov 2021 02:49:53 +0000 (21:49 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 6 Feb 2022 20:48:18 +0000 (15:48 -0500)
commit422f1ea279deea8530b679e4770e97f669797543
tree24b4b77f180dbaef3ee816c2a17d60429478ae3e
parent510860f2787f354d1c294958e4cc5e81256ece58
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
gdb/buildsym.c
gdb/mdebugread.c
gdb/or1k-tdep.c
gdb/source.c
gdb/symfile.c
gdb/symmisc.c
gdb/symtab.h
gdb/z80-tdep.c