This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Odd test failures - weird.exp, mi-cli.exp


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  <roland@redhat.com>

        * 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]