aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/common-debug.cc
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-02-12 15:45:08 -0700
committerTom Tromey <tom@tromey.com>2020-02-12 15:51:58 -0700
commit4debb2379696829391bfb519ed9a5f415d6e190a (patch)
treecf0fdf38f3b0eb6d2db30921aa57409aef133bb3 /gdbsupport/common-debug.cc
parent0d404d447ae34e31bdf58ba09c5d3254db3766e1 (diff)
downloadbinutils-4debb2379696829391bfb519ed9a5f415d6e190a.zip
binutils-4debb2379696829391bfb519ed9a5f415d6e190a.tar.gz
binutils-4debb2379696829391bfb519ed9a5f415d6e190a.tar.bz2
Remove a use of the comp_unit backlink
The DWARF frame comp_unit object still has a backlink to the objfile. In order to be truly objfile-independent, this must be removed. This patch removes one such use, by passing the gdbarch to decode_frame_entry directly. gdb/ChangeLog 2020-02-12 Tom Tromey <tom@tromey.com> * dwarf2/frame.c (decode_frame_entry_1): Add gdbarch parameter. (decode_frame_entry): Likewise. (dwarf2_build_frame_info): Update.
Diffstat (limited to 'gdbsupport/common-debug.cc')
0 files changed, 0 insertions, 0 deletions