From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23904 invoked by alias); 4 Mar 2005 16:01:42 -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 23834 invoked from network); 4 Mar 2005 16:01:36 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 4 Mar 2005 16:01:36 -0000 Received: from drow by nevyn.them.org with local (Exim 4.44 #1 (Debian)) id 1D7FF9-0000fH-Cm for ; Fri, 04 Mar 2005 11:01:35 -0500 Date: Fri, 04 Mar 2005 16:01:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [RFA] New GDB target iq2000 Message-ID: <20050304160135.GA2264@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20050222114141.GA18314@cygbert.vinschen.de> <20050303173443.GD18681@nevyn.them.org> <20050304094605.GU2839@cygbert.vinschen.de> <20050304141439.GA30249@nevyn.them.org> <20050304150129.GF2839@cygbert.vinschen.de> <20050304150629.GA32143@nevyn.them.org> <20050304155127.GH2839@cygbert.vinschen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050304155127.GH2839@cygbert.vinschen.de> User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-03/txt/msg00046.txt.bz2 On Fri, Mar 04, 2005 at 04:51:27PM +0100, Corinna Vinschen wrote: > On Mar 4 10:06, Daniel Jacobowitz wrote: > > On Fri, Mar 04, 2005 at 04:01:29PM +0100, Corinna Vinschen wrote: > > > All three cases don't look like simple coincidence. In all three cases > > > we suffer from either optimized code or unavailable debug information. > > > The target specific "knowledge", which is represented by the call to > > > iq2000_scan_prologue helps to master this situation. > > > > Would you mind posting disassembly, line table (readelf -wl), and GDB > > transcript for these failures? > > Sure. First the both break.exp fails, which are interlocked: Thanks! I don't quite grok this bit: > - Disassembly of function marker4: > > 80000368 : > 80000368: 27 bd ff f0 addiu r29,r29,0xfff0 > break marker4^M > Breakpoint 2 at 0x800001f0: file testsuite/gdb.base/break1.c, line 43.^M The PCs don't match - I haven't been able to work out how the one input produced the other output yet. Let me try something different, which will hopefully waste less of your time. Could you mail me the two binaries, and the patch to use skip_prologue_using_sal? I can build an iq2000 GDB easily enough; I just don't want to set up an entire iq2000 toolchain. -- Daniel Jacobowitz CodeSourcery, LLC