Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro_alves@portugalmail.pt>
To: Pierre Muller <muller@ics.u-strasbg.fr>
Cc: gdb-patches@sourceware.org
Subject: Re: [win32] Fix watchpoint support
Date: Wed, 21 Nov 2007 23:33:00 -0000	[thread overview]
Message-ID: <4744C022.1030208@portugalmail.pt> (raw)
In-Reply-To: <001401c82c52$4e72dcb0$eb589610$@u-strasbg.fr>

Pierre Muller wrote:
>   Great,
> 
> I tried it out and it seems indeed to work.
> I got +35 expected passes and -14 unexpected failures,
> there difference is probably due to several tests that are
> not performed because of previous errors within the same
> test.
> 

I frequently see intermitent problems like:

  Running ../../../gdb-server_submit/src/gdb/testsuite/gdb.base/langs.exp ...
  PASS: gdb.base/langs.exp: break on nonexistent function in langs.exp
-PASS: gdb.base/langs.exp: show language at csub in langs.exp
-PASS: gdb.base/langs.exp: backtrace in langs.exp
-PASS: gdb.base/langs.exp: up to foo in langs.exp
-PASS: gdb.base/langs.exp: show language at foo in langs.exp
-PASS: gdb.base/langs.exp: up to cppsub_ in langs.exp
-PASS: gdb.base/langs.exp: show language at cppsub_ in langs.exp
-PASS: gdb.base/langs.exp: up to fsub in langs.exp
-PASS: gdb.base/langs.exp: show language at fsub in langs.exp
-PASS: gdb.base/langs.exp: up to langs0__2do in langs.exp
-PASS: gdb.base/langs.exp: show language at langs0__2do in langs.exp
-PASS: gdb.base/langs.exp: up to main in langs.exp
-PASS: gdb.base/langs.exp: show language at main in langs.exp
-PASS: gdb.base/langs.exp: continue to exit in langs.exp
+ERROR: Couldn't send show language to GDB.
+UNRESOLVED: gdb.base/langs.exp: show language at csub in langs.exp
+ERROR: Couldn't send bt to GDB.
+UNRESOLVED: gdb.base/langs.exp: backtrace in langs.exp
+ERROR: Couldn't send up to GDB.
+UNRESOLVED: gdb.base/langs.exp: up to foo in langs.exp
+ERROR: Couldn't send show language to GDB.
+UNRESOLVED: gdb.base/langs.exp: show language at foo in langs.exp
+ERROR: Couldn't send up to GDB.
+UNRESOLVED: gdb.base/langs.exp: up to cppsub_ in langs.exp
+ERROR: Couldn't send show language to GDB.
+UNRESOLVED: gdb.base/langs.exp: show language at cppsub_ in langs.exp

Or like:

(...)
-PASS: gdb.base/return2.exp: continue to double_func
-PASS: gdb.base/return2.exp: return from double_func
-PASS: gdb.base/return2.exp: double value returned successfully
-PASS: gdb.base/return2.exp: validate result value not equal to program return value
+gdb compile failed, exit status is 1
+UNTESTED: gdb.base/return2.exp: return2.exp

The test that fails tends to change between runs.

I find myself redoing those tests that failed to be sure
it wasn't a regression.

>   Just out of curiosity, why did you choose 0xfff0ff0
> for dr[6].

The 80386 Programmer's Reference Manual says the debug handler
should move zeros to DR6 to avoid confusion, but I've read
somewhere that Windows expects it to be set to 0xffff0ff0
(undefined bits set to 1, could be 0xffff1ff0 too).  Can't
find the reference now.  Bummer.  In fact, if you search
for it on google.com/codesearch, you'll see a lot of people
choosing it too.  I don't think it really makes a
difference -- but that's no reason to keep a TODO there.  I've
tested with 0 and 0xffff0ff0, and saw no difference.

-- 
Cheers,
Pedro Alves




  reply	other threads:[~2007-11-21 23:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-21  0:35 Pedro Alves
2007-11-21 15:22 ` Pierre Muller
2007-11-21 23:33   ` Pedro Alves [this message]
2007-11-23  1:13 ` Christopher Faylor
2007-11-24 12:22   ` Pedro Alves

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=4744C022.1030208@portugalmail.pt \
    --to=pedro_alves@portugalmail.pt \
    --cc=gdb-patches@sourceware.org \
    --cc=muller@ics.u-strasbg.fr \
    /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