This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Adjust i386 registers on SystemTap probes' arguments (PR breakpoints/24541)
- From: Tom Tromey <tom at tromey dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>, andrew dot burgess at embecosm dot com, fche at redhat dot com, jakub at redhat dot com
- Date: Fri, 28 Jun 2019 09:45:19 -0600
- Subject: Re: [PATCH] Adjust i386 registers on SystemTap probes' arguments (PR breakpoints/24541)
- References: <20190626220031.6302-1-sergiodj@redhat.com>
>>>>> "Sergio" == Sergio Durigan Junior <sergiodj@redhat.com> writes:
Sergio> gdb/ChangeLog:
Sergio> 2019-06-27 Sergio Durigan Junior <sergiodj@redhat.com>
Sergio> * gdbarch.c: Regenerate.
Sergio> * gdbarch.h: Regenerate.
Sergio> * gdbarch.sh: Add 'stap_adjust_register'.
Sergio> * i386-tdep.c: Include '<unordered_set>'.
Sergio> (i386_stap_adjust_register): New function.
Sergio> (i386_elf_init_abi): Register 'i386_stap_adjust_register'.
Sergio> * stap-probe.c (stap_parse_register_operand): Call
Sergio> 'gdbarch_stap_adjust_register'.
Thank you for the patch and the excellent explanation.
This is ok.
For a while I was updating some SystemTap wiki page to link to these
kinds of bugs, so that anybody else interested in supporting these
probes had a list of oddities to work from. This one would seem to
qualify for that.
Tom