diff options
author | Tom Tromey <tom@tromey.com> | 2020-02-08 13:40:54 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-02-08 13:43:24 -0700 |
commit | 8266302dc32a88c9e05b4e451e3c2c1516603132 (patch) | |
tree | 11332dff1c23623a3de7431ec7b1282bdb0772bb /gdb/std-regs.c | |
parent | 4057dfde49d7867ad41906ed11705e450a08b4cf (diff) | |
download | gdb-8266302dc32a88c9e05b4e451e3c2c1516603132.zip gdb-8266302dc32a88c9e05b4e451e3c2c1516603132.tar.gz gdb-8266302dc32a88c9e05b4e451e3c2c1516603132.tar.bz2 |
Convert read_offset to method on comp_unit_head
This changes one of the read_offset overloads to be a method on
comp_unit_head.
2020-02-08 Tom Tromey <tom@tromey.com>
* dwarf2/read.c (read_attribute_value, read_indirect_string)
(read_indirect_line_string): Update.
* dwarf2/comp-unit.c (read_offset): Remove.
(read_comp_unit_head): Update.
* dwarf2/comp-unit.h (struct comp_unit_head) <read_offset>: New
method.
(read_offset): Don't declare.
Change-Id: Ia595702a5748337b7c031352bc437956baab9990
Diffstat (limited to 'gdb/std-regs.c')
0 files changed, 0 insertions, 0 deletions