diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-11-19 22:09:25 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-02-06 15:48:18 -0500 |
commit | ab5f850eed6aba84050d075e8c8a2cb16a876b15 (patch) | |
tree | 05057981c94964184fbeca51093765525eeb01b2 /gdb/dwarf2 | |
parent | 422f1ea279deea8530b679e4770e97f669797543 (diff) | |
download | gdb-ab5f850eed6aba84050d075e8c8a2cb16a876b15.zip gdb-ab5f850eed6aba84050d075e8c8a2cb16a876b15.tar.gz gdb-ab5f850eed6aba84050d075e8c8a2cb16a876b15.tar.bz2 |
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
Diffstat (limited to 'gdb/dwarf2')
-rw-r--r-- | gdb/dwarf2/frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/frame.c b/gdb/dwarf2/frame.c index b4e699c..0b7ed2c 100644 --- a/gdb/dwarf2/frame.c +++ b/gdb/dwarf2/frame.c @@ -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; |