Minor tweak to use die_reader_specs::abfd
authorTom Tromey <tom@tromey.com>
Sun, 14 Mar 2021 17:42:05 +0000 (11:42 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 14 Mar 2021 17:50:06 +0000 (11:50 -0600)
commit0280fdcc0822f028d9889bb8c9559989bf71e69b
tree33548a1beb450f4ee37c37aee98a9eae75cb8c6a
parenta9f172c6b7a8f81e482568adecbea17860b5577c
Minor tweak to use die_reader_specs::abfd

For an experiment I'm working on, it would be convenient if
die_reader_specs::cu could be NULL.  This is fairly involved to
implement, but I did notice one spot that could conveniently be
updated.  While making this trivial change, I also noticed a small,
related formatting error.

2021-03-14  Tom Tromey  <tom@tromey.com>

* dwarf2/read.c (struct die_reader_specs) <abfd>: Fix formatting.
(peek_die_abbrev): Use reader.abfd.
gdb/ChangeLog
gdb/dwarf2/read.c