From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10807 invoked by alias); 19 Apr 2004 03:45:02 -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 10799 invoked from network); 19 Apr 2004 03:45:01 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 19 Apr 2004 03:45:01 -0000 Received: from drow by nevyn.them.org with local (Exim 4.32 #1 (Debian)) id 1BFPiN-0000y4-5m for ; Sun, 18 Apr 2004 23:44:59 -0400 Date: Mon, 19 Apr 2004 07:38:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: Odd test failures - weird.exp, mi-cli.exp Message-ID: <20040419034459.GA3674@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: <20040419031150.GA14124@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040419031150.GA14124@nevyn.them.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-04/txt/msg00103.txt.bz2 On Sun, Apr 18, 2004 at 11:11:50PM -0400, Daniel Jacobowitz wrote: > (gdb) file object.o > Reading symbols from > /opt/src/binutils/x86-as/gdb/testsuite/object.o...done. > Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". > (gdb) FAIL: gdb.stabs/weird.exp: Errors reading weirdx.o > > I can't figure out what causes this. Presumably it is griping about > the libthread_db message, but GDB 6.1 appears to generate the same > thing, and I haven't been getting this failure in the past. Does > anyone else see this? This one appears to be: (gdb) file object.o Reading symbols from /opt/src/binutils/x86-as/gdb/testsuite/object.o...done. (gdb) FAIL: gdb.stabs/weird.exp: Errors reading weirdx.o vs. Reading symbols from object.o...done. Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) PASS: gdb.stabs/weird.exp: weirdx.o read without error The most likely candidate is: 2004-04-15 Roland McGrath * symfile.c (symbol_file_add_with_addrs_or_offsets): Take ABFD as argument instead of NAME. (symbol_file_add, reread_separate_symbols): Call symfile_bfd_open in call to symbol_file_add_with_addrs_or_offsets. (build_addr_info): New function, helper for ... (symbol_file_add_from_memory): New function. (add_symbol_file_from_memory_command): New function using that. (_initialize_symfile): Register it for add-symbol-file-from-memory. (pre_add_symbol_hook): Add const to argument type. * symfile.h (symbol_file_add_from_memory): Declare it. I guess this is a testsuite bug. I'll fix it once we decide what to do about the fluky mi-cli.exp failures in the previous message. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer