From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30710 invoked by alias); 26 Sep 2007 14:57:08 -0000 Received: (qmail 30698 invoked by uid 22791); 26 Sep 2007 14:57:07 -0000 X-Spam-Check-By: sourceware.org Received: from dmz.mips-uk.com (HELO dmz.mips-uk.com) (194.74.144.194) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 26 Sep 2007 14:57:03 +0000 Received: from internal-mx1 ([192.168.192.240] helo=ukservices1.mips.com) by dmz.mips-uk.com with esmtp (Exim 3.35 #1 (Debian)) id 1IaY5d-0004fZ-00; Wed, 26 Sep 2007 15:42:13 +0100 Received: from perivale.mips.com ([192.168.192.200]) by ukservices1.mips.com with esmtp (Exim 3.36 #1 (Debian)) id 1IaY5W-0000eA-00; Wed, 26 Sep 2007 15:42:06 +0100 Received: from macro (helo=localhost) by perivale.mips.com with local-esmtp (Exim 4.63) (envelope-from ) id 1IaY5V-00087i-Vq; Wed, 26 Sep 2007 15:42:05 +0100 Date: Wed, 26 Sep 2007 14:57:00 -0000 From: "Maciej W. Rozycki" To: Pedro Alves cc: Daniel Jacobowitz , gdb-patches@sourceware.org, "Maciej W. Rozycki" Subject: Re: hbreak.exp: Test hardware breakpoints In-Reply-To: <4053daab0709260729r4a419defs5f95d4b84c44bcc3@mail.gmail.com> Message-ID: References: <20070921230133.GB28500@caradoc.them.org> <20070924113241.GA7618@caradoc.them.org> <20070926142137.GA29702@caradoc.them.org> <4053daab0709260729r4a419defs5f95d4b84c44bcc3@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MIPS-Technologies-UK-MailScanner: Found to be clean X-MIPS-Technologies-UK-MailScanner-From: macro@mips.com Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-09/txt/msg00374.txt.bz2 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