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:
parent
422f1ea279
commit
ab5f850eed
10 changed files with 33 additions and 25 deletions
|
@ -745,7 +745,7 @@ dwarf2_frame_find_quirks (struct dwarf2_frame_state *fs,
|
|||
if (cust == NULL)
|
||||
return;
|
||||
|
||||
if (producer_is_realview (COMPUNIT_PRODUCER (cust)))
|
||||
if (producer_is_realview (cust->producer ()))
|
||||
{
|
||||
if (fde->cie->version == 1)
|
||||
fs->armcc_cfa_offsets_sf = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue