From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10893 invoked by alias); 1 Apr 2003 15:18:22 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 10873 invoked from network); 1 Apr 2003 15:18:21 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 1 Apr 2003 15:18:21 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 190NWf-0006Am-00; Tue, 01 Apr 2003 09:18:13 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 190NWb-0005Em-00; Tue, 01 Apr 2003 10:18:09 -0500 Date: Tue, 01 Apr 2003 15:18:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: Nick Clifton , carlton@math.stanford.edu, gdb , binutils@sources.redhat.com Subject: Re: gdb.mi/mi-cli.exp failures Message-ID: <20030401151809.GA20117@nevyn.them.org> Mail-Followup-To: Andrew Cagney , Nick Clifton , carlton@math.stanford.edu, gdb , binutils@sources.redhat.com References: <3E88A369.6090403@redhat.com> <3E88AE3F.4030005@redhat.com> <3E89AB79.1060700@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E89AB79.1060700@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-04/txt/msg00004.txt.bz2 On Tue, Apr 01, 2003 at 10:08:41AM -0500, Andrew Cagney wrote: > > >>Applying the attached to BFD fixes the problem .... > > > > > >Although applying it would be a bad idea because it reverts several > >bug fixes that plug memory leaks. > > Leaky memory is a lesser evil to corrupt memory. > > >Instead here is a version that removes the use of "concat()" inside > >dwarf2.c:concat_filename() which is a good thing, but which probably > >does not solve the problem that you encountered in GDB. > > > >Can you narrow down which part of David Heine's patch (altered by me) > >is causing you problems, or tell me which tests in GDB are now failing > >so that I can try to track it down myself. > > Unfortunatly BFD changed an interface right in the middle of this - it's > put GDB/BFD into a death spiral :-( I'm currently reverting a directory > tree to see what can be seen ... > > FAIL: gdb.base/relocate.exp: get address of static_bar (timeout) > FAIL: gdb.base/relocate.exp: static variables have different addresses > FAIL: gdb.base/relocate.exp: get address of global_foo (timeout) > FAIL: gdb.base/relocate.exp: get address of global_bar (timeout) > FAIL: gdb.base/relocate.exp: global variables have different addresses > FAIL: gdb.base/relocate.exp: get address of function_foo (timeout) > FAIL: gdb.base/relocate.exp: get address of function_bar (timeout) > FAIL: gdb.base/relocate.exp: functions have different addresses On what target - I don't see these... This looks like a crash in the same function that changed interface... perhaps the memory leak fix for simple.c was wrong, although I can't quite see why. By the way, adding or removing the NULL at the end is all that GDB needs to do to work with both interfaces. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer