From: Daniel Jacobowitz <drow@false.org>
To: Michael Chastain <mec.gnu@mindspring.com>
Cc: jjohnstn@redhat.com, gdb-patches@sources.redhat.com
Subject: Re: [RFA]: threaded watchpoint test
Date: Thu, 29 Jul 2004 15:26:00 -0000 [thread overview]
Message-ID: <20040729152517.GA7192@nevyn.them.org> (raw)
In-Reply-To: <4106EF7A.nail46S11RRBB@mindspring.com>
On Tue, Jul 27, 2004 at 08:12:42PM -0400, Michael Chastain wrote:
> > OK. Unfortunately I don't think this test is conclusive; unix.exp will
> > always claim to have hardware watchpoints, and on many systems it does
> > not (for instance powerpc-linux). If that turns out to be true we can
> > introduce gdb_has_hardware_watchpoints or something along those lines.
>
> Yeah, I'm a bit leery of "set_board_info gdb,no_hardware_watchpoints"
> but it already exists (although not used for that purpose).
>
> I missed something, though:
>
> if [target_info exists gdb,no_hardware_watchpoints] {
> return 0;
> }
>
> Perhaps there should be an UNSUPPORTED in there before the "return 0":
>
> unsupported "hardware watchpoints on this target"
>
> Daniel, what do you think?
Sounds good to me. We'll probably want to clean up the other bit about
using the board_info too; or... just recognize that we got a software
watchpoint instead of a hardware one?
Maybe not. It could be a bug to get a software watchpoint when we
expect a hardware one. The question is whether we want to keep a
separate list of "do we expect hardware watchpoints" in the testsuite.
--
Daniel Jacobowitz
next prev parent reply other threads:[~2004-07-29 15:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-27 18:56 Jeff Johnston
2004-07-27 22:56 ` Michael Chastain
2004-07-27 23:02 ` Daniel Jacobowitz
2004-07-27 23:24 ` Jeff Johnston
2004-07-27 23:27 ` Daniel Jacobowitz
2004-07-27 23:41 ` Jeff Johnston
2004-07-28 0:13 ` Michael Chastain
2004-07-29 15:26 ` Daniel Jacobowitz [this message]
2004-07-29 23:39 ` Mark Kettenis
2004-07-30 0:55 ` Michael Chastain
2004-07-30 22:33 ` Andrew Cagney
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=20040729152517.GA7192@nevyn.them.org \
--to=drow@false.org \
--cc=gdb-patches@sources.redhat.com \
--cc=jjohnstn@redhat.com \
--cc=mec.gnu@mindspring.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