Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Maciej W. Rozycki" <macro@mips.com>
To: Pedro Alves <pedro_alves@portugalmail.pt>
Cc: Daniel Jacobowitz <drow@false.org>,
	gdb-patches@sourceware.org,
	     "Maciej W. Rozycki" <macro@linux-mips.org>
Subject: Re: hbreak.exp: Test hardware breakpoints
Date: Wed, 26 Sep 2007 14:57:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.61.0709261531470.23821@perivale.mips.com> (raw)
In-Reply-To: <4053daab0709260729r4a419defs5f95d4b84c44bcc3@mail.gmail.com>

On Wed, 26 Sep 2007, Pedro Alves wrote:

> >  I used "RUNTESTFLAGS=--target-board native-gdbserver gdb.base/hbreak.exp"
> > exactly.
> >
> 
> --target-board != --target_board
>         ^                 ^
> 
> '-' vs '_'

 Good catch, thanks.  The result is:

                === gdb Summary ===

# of expected passes            43
# of unexpected failures        28

with the first failure being:

(gdb) Process [...]/build-i386/gdb/testsuite/gdb.base/break 
created; pid = 16195
Listening on port 2346
target remote localhost:2346
Remote debugging using localhost:2346
Remote debugging from host 127.0.0.1
0x40000c20 in ?? () from /lib/ld-linux.so.2
(gdb) continue
Continuing.
Couldn't write debug register: No such process.
(gdb) FAIL: gdb.base/hbreak.exp: run until function breakpoint

That message comes from i386_linux_dr_set(), so that looks like a bug 
somewhere with `gdbserver' not passing correct breakpoint data downstream.  
Which is obviously not a bug with the test script itself, but if people 
insist on keeping the bug I could make the script conditional on 
"gdb,no_hardware_watchpoints".

  Maciej


  reply	other threads:[~2007-09-26 14:57 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
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 [this message]
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.0709261531470.23821@perivale.mips.com \
    --to=macro@mips.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=macro@linux-mips.org \
    --cc=pedro_alves@portugalmail.pt \
    /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