This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/3] skip_prolgoue (amd64)
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: Doug Evans <xdje42 at gmail dot com>, Mark Kettenis <mark dot kettenis at xs4all dot nl>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Mon, 09 Dec 2013 11:31:48 +0000
- Subject: Re: [PATCH 2/3] skip_prolgoue (amd64)
- Authentication-results: sourceware.org; auth=none
- References: <1385735051-27558-1-git-send-email-yao at codesourcery dot com> <1385735051-27558-3-git-send-email-yao at codesourcery dot com> <201311291436 dot rATEaZ5Z030292 at glazunov dot sibelius dot xs4all dot nl> <201311291605 dot rATG5XVb030184 at glazunov dot sibelius dot xs4all dot nl> <52994E79 dot 4000004 at codesourcery dot com> <5299B9D0 dot 2020304 at redhat dot com> <529C37A2 dot 9000207 at codesourcery dot com> <529E9462 dot 9010001 at codesourcery dot com> <529F1B1F dot 2040606 at redhat dot com> <52A426E8 dot 2030808 at codesourcery dot com> <CAP9bCMRG2RkWLoVgE56OAXs0hoghv_Bfq-PwuGQy5wMYo2GK8A at mail dot gmail dot com> <52A5206C dot 5070301 at codesourcery dot com>
On 12/09/2013 01:44 AM, Yao Qi wrote:
> I am wondering we may remove the call in prepare_execute_command,
> because it is more "precise" to flush cache for every event than for
> every command. However, I am not sure, but I attach the patch.
No, because one can issue several commands even if the target
never reports any stop. E.g., disassemble, wait a while,
memory changes, disassemble, etc.
--
Pedro Alves