From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: needs writeback on ptrace
Date: Fri, 15 Feb 2008 07:56:59 +0000 [thread overview]
Message-ID: <20080215075659.GA23834@linux-sh.org> (raw)
In-Reply-To: <20080215.095254.68562685.saito@densan.co.jp>
On Fri, Feb 15, 2008 at 04:40:03PM +0900, Hideo Saito wrote:
> The chang was not effective. If the following code at
> flush_cache_page() in cache-sh4.c is removed, gdb works.
>
> if ((address^phys) & alias_mask) {
> /* Loop 4K of the D-cache */
> flush_cache_4096(
> CACHE_OC_ADDRESS_ARRAY | (address & alias_mask),
> phys);
> /* Loop another 4K of the D-cache */
> flush_cache_4096(
> CACHE_OC_ADDRESS_ARRAY | (phys & alias_mask),
> phys);
> }
>
> modified as follows:
> if (1) {
> ...
> }
>
> I think that the breakpoint should always be written to the physical memory.
What are the values of address, phys, and alias_mask on your platform in
this case?
next prev parent reply other threads:[~2008-02-15 7:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-15 0:52 needs writeback on ptrace Hideo Saito
2008-02-15 5:29 ` Paul Mundt
2008-02-15 7:40 ` Hideo Saito
2008-02-15 7:56 ` Paul Mundt [this message]
2008-02-15 9:10 ` Hideo Saito
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080215075659.GA23834@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.