From: Eli Zaretskii <eliz@gnu.org>
To: Wu Zhou <woodzltc@cn.ibm.com>, gdb-patches@sourceware.org
Subject: Re: [ppc-linux-nat]: set access flag for h/w watchpoint even if it is only read or write
Date: Fri, 07 Jul 2006 15:08:00 -0000 [thread overview]
Message-ID: <uveq9pi4j.fsf@gnu.org> (raw)
In-Reply-To: <20060707131754.GB20201@nevyn.them.org> (message from Daniel Jacobowitz on Fri, 7 Jul 2006 09:17:54 -0400)
> Date: Fri, 7 Jul 2006 09:17:54 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Wu Zhou <woodzltc@cn.ibm.com>, gdb-patches@sourceware.org
>
> > Daniel, could you please point me to Ulrich's change, either in
> > ChangeLogs or in the sources? I cannot find it forf some reason.
>
> I must be mistaken; our S/390 support doesn't have any read watchpoints
> (I don't know if the architecture does or not). In fact I can't find
> any architecture that does this. But I immediately recognized
> the description of the problem... so it must have happened somewhere.
You are not dreaming, because I remember that as well. Perhaps Ulrich
just suggested a change, but it wasn't accepted eventually.
> I can't find the discussion of it, but the gdbserver crisv32 port does
> the same thing:
>
> /* Read watchpoints are set as access watchpoints, because of GDB's
> inability to deal with pure read watchpoints. */
> if (type == '3')
> type = '4';
>
> Here's some more about it:
> http://sources.redhat.com/ml/gdb/2005-11/msg00231.html
>
> In which I also claimed S/390 did it, which doesn't appear to be true,
> but at least I've had the same misconception for a while now.
Thanks for the pointers. I think if we wish to change this, someone
will need to step forward and volunteer to submit a clean design of
how a back end could tell breakpoint.c that read watchpoints are
really supported, and how breakpoint.c could use that info to DTRT.
next prev parent reply other threads:[~2006-07-07 15:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-07 4:35 Wu Zhou
2006-07-07 10:04 ` Eli Zaretskii
2006-07-07 13:18 ` Daniel Jacobowitz
2006-07-07 15:08 ` Eli Zaretskii [this message]
2006-07-08 19:36 ` Ulrich Weigand
-- strict thread matches above, loose matches on Subject: below --
2006-06-09 15:40 Wu Zhou
2006-07-06 13:20 ` Daniel Jacobowitz
2006-07-06 20:59 ` Eli Zaretskii
2006-07-06 21:37 ` Daniel Jacobowitz
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=uveq9pi4j.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=woodzltc@cn.ibm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox