gdb: remove COMPUNIT_PRODUCER macro, add getter/setter
authorSimon Marchi <simon.marchi@efficios.com>
Sat, 20 Nov 2021 03:09:25 +0000 (22:09 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 6 Feb 2022 20:48:18 +0000 (15:48 -0500)
commitab5f850eed6aba84050d075e8c8a2cb16a876b15
tree05057981c94964184fbeca51093765525eeb01b2
parent422f1ea279deea8530b679e4770e97f669797543
gdb: remove COMPUNIT_PRODUCER macro, add getter/setter

Add a getter and a setter for a compunit_symtab's producer.  Remove the
corresponding macro and adjust all callers.

Change-Id: Ia1d6d8a0e247a08a21af23819d71e49b37d8931b
gdb/amd64-tdep.c
gdb/arm-tdep.c
gdb/buildsym.c
gdb/compile/compile.c
gdb/dwarf2/frame.c
gdb/i386-tdep.c
gdb/python/py-symtab.c
gdb/source.c
gdb/symmisc.c
gdb/symtab.h