Use cu_header consistently in read_attribute_value
authorTom Tromey <tom@tromey.com>
Sun, 14 Mar 2021 17:59:37 +0000 (11:59 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 14 Mar 2021 17:59:37 +0000 (11:59 -0600)
commit7c290a04a2a9326c2370144f62710fc5ebcc868c
tree9205eae54594a9d6e6fc6934f8b54116744742c7
parent0280fdcc0822f028d9889bb8c9559989bf71e69b
Use cu_header consistently in read_attribute_value

read_attribute_value has a local cu_header variable, but then some
spots in the function use cu->header instead.  It seems better to me
to prefer the local everywhere, so this patch makes this change.

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

* dwarf2/read.c (read_attribute_value): Use cu_header
consistently.
gdb/ChangeLog
gdb/dwarf2/read.c