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: "Metzger, Markus T" <markus dot t dot metzger at intel dot com>
- Cc: "jan dot kratochvil at redhat dot com" <jan dot kratochvil at redhat dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 17 Dec 2013 16:59:19 +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> <52AB64F3 dot 3010305 at redhat dot com> <A78C989F6D9628469189715575E55B230AA38D11 at IRSMSX104 dot ger dot corp dot intel dot com> <52AF5763 dot 9050800 at redhat dot com> <A78C989F6D9628469189715575E55B230AA3974D at IRSMSX104 dot ger dot corp dot intel dot com>
On 12/17/2013 01:20 PM, Metzger, Markus T wrote:
>> OK, the question was then, would it be wrong to allow
>> accessing registers and memory of the live program, if replaying, and
>> at that position? Just OOC and for my education, I'm not saying
>> it'd be a requirement.
>
> It would be conceptually wrong.
>
> And it would not be necessary, either, since we will never be in
> this position when the user gets the prompt. We will only pass
> through it internally. When the user gets the prompt, we are
> either replaying and we're somewhere in the execution history.
> Or we're not replaying and we're at the current location.
OK, thanks.
--
Pedro Alves