diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-09-23 23:50:02 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-10-29 16:44:21 -0400 |
commit | 31a1516a815ea3699cefdf92be60680c56cd6e8f (patch) | |
tree | b097526bfb698f0c67e983e7f4e1893f811a3f0e /gdb/dwarf2 | |
parent | 16654a591ae6ebd8075a3447a569b7c16ca30754 (diff) | |
download | gdb-31a1516a815ea3699cefdf92be60680c56cd6e8f.zip gdb-31a1516a815ea3699cefdf92be60680c56cd6e8f.tar.gz gdb-31a1516a815ea3699cefdf92be60680c56cd6e8f.tar.bz2 |
gdb: remove FIELD_STATIC_PHYSADDR macro
Remove FIELD_LOC_KIND_PHYSADDR, replace its uses with
field::loc_physaddr.
Change-Id: Ifd8b2bdaad75f42bfb1404ef8c396ffe7e10ac55
Diffstat (limited to 'gdb/dwarf2')
-rw-r--r-- | gdb/dwarf2/loc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/loc.c b/gdb/dwarf2/loc.c index 9d9267b..f7ec268 100644 --- a/gdb/dwarf2/loc.c +++ b/gdb/dwarf2/loc.c @@ -719,7 +719,7 @@ call_site_to_target_addr (struct gdbarch *call_site_gdbarch, int sect_idx = COMPUNIT_BLOCK_LINE_SECTION (cust); CORE_ADDR delta = per_objfile->objfile->section_offsets[sect_idx]; - return FIELD_STATIC_PHYSADDR (call_site->target) + delta; + return call_site->target.loc_physaddr () + delta; } default: |