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: Yao Qi <yao at codesourcery dot com>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: <gdb-patches at sourceware dot org>
- Date: Sat, 30 Nov 2013 10:33:29 +0800
- 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>
On 11/30/2013 12:05 AM, Mark Kettenis wrote:
But only if the cache is properly invalidated when control when
running/stepping. Is it?
Yes, cache is invalidated when the inferior is to be resumed. See
target.c:target_resume.
void
target_resume (ptid_t ptid, int step, enum gdb_signal signal)
{
struct target_ops *t;
target_dcache_invalidate ();
....
--
Yao (éå)