aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-05-27 11:14:02 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-05-27 11:15:57 -0400
commit82ca3f5189e9f8199dc21baeabe2a31a342db163 (patch)
tree1f62e503c4e3e63aa55cfea25d87beb172b5956b /gdb/objfiles.h
parent4b167ea1a0f1ff6f02684556e951dab8d48b9fa4 (diff)
downloadgdb-82ca3f5189e9f8199dc21baeabe2a31a342db163.zip
gdb-82ca3f5189e9f8199dc21baeabe2a31a342db163.tar.gz
gdb-82ca3f5189e9f8199dc21baeabe2a31a342db163.tar.bz2
Add dwarf2_per_objfile parameter to dwarf2_read_addr_index
Pass it all the way from the symbol batons. This allows removing a dwarf2_per_cu_data::dwarf2_per_objfile reference. gdb/ChangeLog: * dwarf2/read.h (dwarf2_read_addr_index): Add dwarf2_per_objfile parameter. * dwarf2/read.c (dwarf2_read_addr_index): Likewise. * dwarf2/loc.c (decode_debug_loclists_addresses): Add dwarf2_per_objfile parameter. (decode_debug_loc_dwo_addresses): Likewise. (dwarf2_find_location_expression): Update. (class dwarf_evaluate_loc_desc) <get_addr_index>: Update. (locexpr_describe_location_piece): Add dwarf2_per_objfile parameter. (disassemble_dwarf_expression): Add dwarf2_per_objfile parameter. (locexpr_describe_location_1): Likewise. (locexpr_describe_location): Update. Change-Id: I8414755e41a87c92f96e408524cc7aaccf086cda
Diffstat (limited to 'gdb/objfiles.h')
0 files changed, 0 insertions, 0 deletions