commit | 4debb2379696829391bfb519ed9a5f415d6e190a | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Wed Feb 12 15:45:08 2020 -0700 |
committer | Tom Tromey <tom@tromey.com> | Wed Feb 12 15:51:58 2020 -0700 |
tree | cf0fdf38f3b0eb6d2db30921aa57409aef133bb3 | |
parent | 0d404d447ae34e31bdf58ba09c5d3254db3766e1 [diff] |
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.