From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9371 invoked by alias); 16 Aug 2004 09:43:28 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 9331 invoked from network); 16 Aug 2004 09:43:25 -0000 Received: from unknown (HELO tisch.mail.mindspring.net) (207.69.200.157) by sourceware.org with SMTP; 16 Aug 2004 09:43:25 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by tisch.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1Bwe1S-0002ki-00; Mon, 16 Aug 2004 05:43:22 -0400 Received: from mindspring.com (localhost [127.0.0.1]) by berman.michael-chastain.com (Postfix) with SMTP id 584824B102; Mon, 16 Aug 2004 05:43:26 -0400 (EDT) Date: Mon, 16 Aug 2004 09:43:00 -0000 From: Michael Chastain To: drow@false.org Subject: Re: [PATCH/RFA] Testsuite improvements for non-decr_pc_after_break i386 Cc: kettenis@chello.nl, gdb-patches@sources.redhat.com Message-ID: <412081BE.nailFXY216SED@mindspring.com> References: <200408142006.i7EK6bEE001195@elgar.kettenis.dyndns.org> <411F0AEA.nail9Q211HV3N@mindspring.com> <20040816011842.GA7780@nevyn.them.org> In-Reply-To: <20040816011842.GA7780@nevyn.them.org> User-Agent: nail 10.8 6/28/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00533.txt.bz2 mec> I proofread it. I also tested it on native i686-pc-linux-gnu, mec> which is a no-adjust platform ($eip points after the breakpoint). drow> FYI, you've got the nomenclature backwards - adjust-pc-after-break drow> means "GDB must adjust the PC after break to figure out where the drow> breakpoint was". Gah. I knew that! Let me retry: native i686-pc-linux-gnu has $eip pointing after the breakpoint, so I threw in "set $pc [expr $pc - 1]" to make it look like the program counter was pointing at the breakpoint instruction.