diff options
author | Ali Tamur <tamur@google.com> | 2019-03-29 19:29:24 -0700 |
---|---|---|
committer | Ali Tamur <tamur@google.com> | 2019-04-22 18:15:59 -0700 |
commit | 336d760da60d93ce76c4560525f65339f3403914 (patch) | |
tree | 046540585a0d50120caa44e4ff530acc16c70f67 /gdb/dwarf2-frame.c | |
parent | 4a4153dfc945701938b6f52795cf234fa0a5f5fe (diff) | |
download | fsf-binutils-gdb-336d760da60d93ce76c4560525f65339f3403914.zip fsf-binutils-gdb-336d760da60d93ce76c4560525f65339f3403914.tar.gz fsf-binutils-gdb-336d760da60d93ce76c4560525f65339f3403914.tar.bz2 |
Support for DW_OP_addrx and DW_FORM_addrx tags
DW_OP_addrx is the new name of DW_OP_GNU_addr_index, and DW_FORM_addrx
is the name of DW_FORM_addr_index in the Dwarf 5 standard. This is a small
step towards supporting Dwarf 5 in gdb.
Note: I could not find any tests specifically for *_GNU_addr_index, and
I did not add any new tests, please advise.
Diffstat (limited to 'gdb/dwarf2-frame.c')
-rw-r--r-- | gdb/dwarf2-frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c index b1db1ed..e2bf61b 100644 --- a/gdb/dwarf2-frame.c +++ b/gdb/dwarf2-frame.c @@ -290,7 +290,7 @@ class dwarf_expr_executor : public dwarf_expr_context CORE_ADDR get_addr_index (unsigned int index) override { - invalid ("DW_OP_GNU_addr_index"); + invalid ("DW_OP_addrx or DW_OP_GNU_addr_index"); } private: |