Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb@sources.redhat.com
Subject: Re: Odd test failures - weird.exp, mi-cli.exp
Date: Mon, 19 Apr 2004 07:38:00 -0000	[thread overview]
Message-ID: <20040419034459.GA3674@nevyn.them.org> (raw)
In-Reply-To: <20040419031150.GA14124@nevyn.them.org>

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


  reply	other threads:[~2004-04-19  3:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-19  3:45 Daniel Jacobowitz
2004-04-19  7:38 ` Daniel Jacobowitz [this message]
2004-04-20 13:46   ` Mark Kettenis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040419034459.GA3674@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox