diff options
author | Pedro Alves <palves@redhat.com> | 2013-11-18 12:05:11 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-11-18 12:05:11 +0000 |
commit | 4b4589ada7e88f2f36d264a173d95ed5994b3acb (patch) | |
tree | 00ef37611468c6ff5dde09e35eb253b741c0ab0e /gdb/sparc64-linux-tdep.c | |
parent | 176f037c0f8203305c2a1bde4fae1dfbb483af1e (diff) | |
download | gdb-4b4589ada7e88f2f36d264a173d95ed5994b3acb.zip gdb-4b4589ada7e88f2f36d264a173d95ed5994b3acb.tar.gz gdb-4b4589ada7e88f2f36d264a173d95ed5994b3acb.tar.bz2 |
Simplify dwarf2-frame.c:read_addr_from_reg.
Since 'struct dwarf_expr_context_funcs::read_addr_from_reg' is now
only used for addresses, we can make it use unpack_pointer. And since
we now have 'struct dwarf_expr_context_funcs'::get_reg_value, there's
no need for speculation about using values here.
Tested on x86_64 Fedora 17.
gdb/
2013-11-18 Pedro Alves <palves@redhat.com>
* dwarf2-frame.c (read_addr_from_reg): Remove stale comment and
use unpack_pointer.
Diffstat (limited to 'gdb/sparc64-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions