From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1695 invoked by alias); 9 Sep 2003 15:30:45 -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 1688 invoked from network); 9 Sep 2003 15:30:44 -0000 Received: from unknown (HELO igw2.watson.ibm.com) (129.34.20.6) by sources.redhat.com with SMTP; 9 Sep 2003 15:30:44 -0000 Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com [9.2.112.57]) by igw2.watson.ibm.com (8.11.7/8.11.4) with ESMTP id h89FRj7346426; Tue, 9 Sep 2003 11:27:45 -0400 Received: from kitch0.watson.ibm.com (localhost [127.0.0.1]) by sp1n293en1.watson.ibm.com (8.11.7/8.11.7) with ESMTP id h89FUao27470; Tue, 9 Sep 2003 11:30:36 -0400 Received: (from jimix@localhost) by kitch0.watson.ibm.com (AIX4.3/8.9.3p2/8.9.3/09-18-2002) id LAA26740; Tue, 9 Sep 2003 11:30:36 -0400 From: Jimi Xenidis MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16221.61979.434255.784317@kitch0.watson.ibm.com> Date: Tue, 09 Sep 2003 15:30:00 -0000 To: Kevin Buettner Cc: Daniel Jacobowitz , gdb-patches@sources.redhat.com, Andrew Cagney Subject: AHAH! Re: Patch to eliminate SOFTWARE_SINGLE_STEP from ppc Was: Powerpc and software single step In-Reply-To: <1030908220107.ZM6208@localhost.localdomain> References: <3F4398EC.2050405@redhat.com> <16195.39851.78762.619597@kitch0.watson.ibm.com> <3F4440F0.30007@redhat.com> <16198.6133.411978.563514@kitch0.watson.ibm.com> <3F463CA9.5000900@redhat.com> <16198.21410.308896.588372@kitch0.watson.ibm.com> <3F465EFD.9020700@redhat.com> <16220.53590.956496.102996@kitch0.watson.ibm.com> <20030908190016.GB24747@nevyn.them.org> <16220.58287.637563.556990@kitch0.watson.ibm.com> <20030908202005.GA30286@nevyn.them.org> <16220.62220.290008.652878@kitch0.watson.ibm.com> <1030908220107.ZM6208@localhost.localdomain> X-SW-Source: 2003-09/txt/msg00159.txt.bz2 >>>>> "KB" == Kevin Buettner writes: KB> Would you mind doing some tracing to figure out why wrapping it KB> with a test for AIX wasn't necessary? The fact that you didn't KB> need a test suggests that there's a bug somewhere else... gdb/config/powerpc/tm-ppc-eabi.h defines the predicate SOFTWARE_SINGLE_STEP_P() as 0 but does not define SOFTWARE_SINGLE_STEP() at all. If I remove this def then all works as expected. So what should the AIX test be? possible canidates are: ? if (info.osabi != GDB_OSABI_LINUX) * Not sure if this is good enough for the PPC-EABI or anyone else ? if (from_xcoff_exec) or clear it to NULL in ppclinux and eabi. thoughts? -JX