aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-26 09:37:22 -0600
committerTom Tromey <tom@tromey.com>2021-03-26 09:37:22 -0600
commitbab287cdcfb47ac472da9e8d3c8db8b15880c12c (patch)
treea74014e35507b6d96edc175a57ffadd723b47b84 /sim
parent3c2dcf90b55fea84260ac83ab968c5df3b44d34d (diff)
downloadgdb-bab287cdcfb47ac472da9e8d3c8db8b15880c12c.zip
gdb-bab287cdcfb47ac472da9e8d3c8db8b15880c12c.tar.gz
gdb-bab287cdcfb47ac472da9e8d3c8db8b15880c12c.tar.bz2
Avoid some pointer chasing in DWARF reader
I noticed a spot in the DWARF reader using "per_objfile->per_bfd", where a local per_bfd variable had already been created. Looking through the file, I found a number of such spots. This patch changes them to use the already-existing local, avoiding a bit of excess pointer chasing. gdb/ChangeLog 2021-03-26 Tom Tromey <tom@tromey.com> * dwarf2/read.c (dwarf2_read_debug_names) (dwarf2_build_psymtabs_hard, create_addrmap_from_aranges) (dw2_debug_names_iterator::next, create_type_unit_group): Simplify.
Diffstat (limited to 'sim')
0 files changed, 0 insertions, 0 deletions