mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
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
This commit is contained in:

committed by
Simon Marchi

parent
422f1ea279
commit
ab5f850eed
@ -1394,9 +1394,9 @@ arm_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
|
||||
missing (e.g. for -gstabs), assuming the GNU tools. */
|
||||
if (post_prologue_pc
|
||||
&& (cust == NULL
|
||||
|| COMPUNIT_PRODUCER (cust) == NULL
|
||||
|| startswith (COMPUNIT_PRODUCER (cust), "GNU ")
|
||||
|| producer_is_llvm (COMPUNIT_PRODUCER (cust))))
|
||||
|| cust->producer () == NULL
|
||||
|| startswith (cust->producer (), "GNU ")
|
||||
|| producer_is_llvm (cust->producer ())))
|
||||
return post_prologue_pc;
|
||||
|
||||
if (post_prologue_pc != 0)
|
||||
|
Reference in New Issue
Block a user