From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16231 invoked by alias); 21 Sep 2007 23:01:38 -0000 Received: (qmail 16223 invoked by uid 22791); 21 Sep 2007 23:01:38 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 21 Sep 2007 23:01:36 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 9DD39982AD; Fri, 21 Sep 2007 23:01:34 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 7DBEA98100; Fri, 21 Sep 2007 23:01:34 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IYrV7-0007lP-KC; Fri, 21 Sep 2007 19:01:33 -0400 Date: Fri, 21 Sep 2007 23:01:00 -0000 From: Daniel Jacobowitz To: "Maciej W. Rozycki" Cc: gdb-patches@sourceware.org, "Maciej W. Rozycki" Subject: Re: hbreak.exp: Test hardware breakpoints Message-ID: <20070921230133.GB28500@caradoc.them.org> Mail-Followup-To: "Maciej W. Rozycki" , gdb-patches@sourceware.org, "Maciej W. Rozycki" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes 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/msg00285.txt.bz2 On Wed, Sep 12, 2007 at 07:09:39PM +0100, Maciej W. Rozycki wrote: > Hello, > > This is hbreak.exp, a complement to break.exp, derived from same, which > is meant to test hardware breakpoints as implemented by the "hbreak" and > "thbreak" commands (which are not covered by the test suite as of now). > As the number of hardware breakpoints is usually limited the script has > been modified to only have a single such breakpoint set up at any given > time. > > This script has been tested natively for i386-linux-gnu with all the > tests passing. > > 2007-09-12 Maciej W. Rozycki > > * 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. 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. -- Daniel Jacobowitz CodeSourcery