This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v9 04/29] gdbarch: add instruction predicate methods
- From: Pedro Alves <palves at redhat dot com>
- To: Markus Metzger <markus dot t dot metzger at intel dot com>
- Cc: jan dot kratochvil at redhat dot com, gdb-patches at sourceware dot org
- Date: Thu, 19 Dec 2013 20:19:26 +0000
- Subject: Re: [PATCH v9 04/29] gdbarch: add instruction predicate methods
- Authentication-results: sourceware.org; auth=none
- References: <1387471499-29444-1-git-send-email-markus dot t dot metzger at intel dot com> <1387471499-29444-5-git-send-email-markus dot t dot metzger at intel dot com>
On 12/19/2013 04:44 PM, Markus Metzger wrote:
> Add new methods to gdbarch for analyzing the instruction at a given address.
> Implement those methods for i386 and amd64 architectures.
>
> This is needed by "record btrace" to detect function calls in the
> execution trace.
Thanks, that's much better. These hooks named as is sound
very x86 specific, but anyway, we can redo the interfaces
if/when other machines do branch tracing too.
--
Pedro Alves