From: "Maciej W. Rozycki" <macro@mips.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-patches@sourceware.org, "Maciej W. Rozycki" <macro@linux-mips.org>
Subject: Re: hbreak.exp: Test hardware breakpoints
Date: Mon, 24 Sep 2007 11:23:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.61.0709241211010.17776@perivale.mips.com> (raw)
In-Reply-To: <20070921230133.GB28500@caradoc.them.org>
On Fri, 21 Sep 2007, Daniel Jacobowitz wrote:
> > 2007-09-12 Maciej W. Rozycki <macro@mips.com>
> >
> > * gdb.base/hbreak.exp: New test for "hbreak" and "thbreak".
> >
> > OK to apply?
>
> No, sorry. Compare this to the current break.exp - you'll see
> that it has some cruft that was cleaned out of that testcase, like
> gdb_suppress_entire_file.
That's doable -- I have missed these changes were done somehow, sorry.
I will apply them and resubmit.
> Also, when I try it using gdbserver it fails a lot of tests. This
> is at least partially related to the previous problem (gdb_run_cmd
> was added). I wanted to see what happened on a target that only
> failed to insert hardware breakpoints at continue.
I do not have such a target, so I do not have means to test.
Conservatively, I used one breakpoint only, so it should not normally
happen as there will be at most a single such breakpoint enabled at any
given time. If there is a target for which it is not enough of an
assumption indeed, I can see what can be done, though the maintainer of
the target is welcome to provide some support with that.
I have a MIPS target down the queue for which I have not submitted
support yet, using EJTAG, but with that the smallest number of hardware
breakpoints I have encountered in a given CPU was eight (and the i386 in
its regular mode of operation has four). It was this target I created
this test script in the first place and, as you may expect, it passes all
the tests included (though changes to gdb itself were required; these are
pending too).
Maciej
next prev parent reply other threads:[~2007-09-24 11:23 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-12 18:10 Maciej W. Rozycki
2007-09-21 23:01 ` Daniel Jacobowitz
2007-09-24 11:23 ` Maciej W. Rozycki [this message]
2007-09-24 11:32 ` Daniel Jacobowitz
2007-09-26 14:03 ` Maciej W. Rozycki
2007-09-26 14:21 ` Daniel Jacobowitz
2007-09-26 14:25 ` Maciej W. Rozycki
2007-09-26 14:29 ` Pedro Alves
2007-09-26 14:57 ` Maciej W. Rozycki
2007-09-26 15:51 ` Daniel Jacobowitz
2007-09-27 9:58 ` Maciej W. Rozycki
2007-09-27 12:08 ` Daniel Jacobowitz
2007-09-30 1:18 ` Daniel Jacobowitz
2007-10-23 17:10 ` Maciej W. Rozycki
2008-02-27 15:39 ` Maciej W. Rozycki
2008-03-01 4:40 ` 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=Pine.LNX.4.61.0709241211010.17776@perivale.mips.com \
--to=macro@mips.com \
--cc=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=macro@linux-mips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox