This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch v8 23/24] record-btrace: show trace from enable location
- 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: Fri, 13 Dec 2013 19:50:11 +0000
- Subject: Re: [patch v8 23/24] record-btrace: show trace from enable location
- Authentication-results: sourceware.org; auth=none
- References: <1386839747-8860-1-git-send-email-markus dot t dot metzger at intel dot com> <1386839747-8860-24-git-send-email-markus dot t dot metzger at intel dot com>
On 12/12/2013 09:15 AM, Markus Metzger wrote:
> The btrace record target shows the branch trace from the location of the first
> branch destination. This is the first BTS records.
>
> After adding incremental updates, we can now add a dummy record for the current
> PC when we enable tracing so we show the trace from the location where branch
> tracing has been enabled.
Ah, awesome, I was just wondering about that. :-)
I suppose one can we still access the registers when
inspecting this dummy location, or are the btrace unwinders
preventing that?
--
Pedro Alves