This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Support for DW_OP_addrx and DW_FORM_addrx tags
- From: Tom Tromey <tom at tromey dot com>
- To: "Ali Tamur via gdb-patches" <gdb-patches at sourceware dot org>
- Cc: Ali Tamur <tamur at google dot com>
- Date: Mon, 08 Apr 2019 14:27:56 -0600
- Subject: Re: [PATCH] Support for DW_OP_addrx and DW_FORM_addrx tags
- References: <CAH=Am=6aLScyTBFjNHdBg4KrjkiXrsw1oz7eJE1bhEcbYQdvzA@mail.gmail.com>
>>>>> "Ali" == Ali Tamur via gdb-patches <gdb-patches@sourceware.org> writes:
Ali> DW_OP_addrx is the new name of DW_OP_GNU_addr_index, and DW_FORM_addrx
Ali> is the name of DW_FORM_addr_index in the Dwarf 5 standard. This is a small
Ali> step towards supporting Dwarf 5 in gdb.
Thanks for doing this.
The patch seemed to be a bit mangled by some mailer somewhere. However,
it looks fine to me.
Do you have commit access to gdb? If not, contact me off-list to set up
write-after-approval permission.
Ali> Note: I could not find any tests specifically for *_GNU_addr_index, and
Ali> I did not add any new tests, please advise.
I think this stuff was previously tested by using the script
gdb/contrib/cc-with-tweaks.sh. Also see gdb/testsuite/boards/cc-with-tweaks.exp
and maybe gdb/testsuite/boards/fission.exp (?).
Tom