This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Odd test failures - weird.exp, mi-cli.exp
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb at sources dot redhat dot com
- Date: Sun, 18 Apr 2004 23:11:50 -0400
- Subject: Odd test failures - weird.exp, mi-cli.exp
Three more failures for i686-pc-linux-gnu have appeared in the last few
days on my test system.
FAIL: gdb.mi/mi-cli.exp: -interpreter-exec console "set $pc=0x0"
FAIL: gdb.mi/mi2-cli.exp: -interpreter-exec console "set $pc=0x0"
FAIL: gdb.stabs/weird.exp: Errors reading weirdx.o
It's not completely clear whether they are gdb bugs or test bugs.
Here's the log entries:
888-interpreter-exec console "set $pc=0x0"
&"Previous frame inner to this frame (corrupt stack?)\n"
888^error,msg="Previous frame inner to this frame (corrupt stack?)"
(gdb)
FAIL: gdb.mi/mi-cli.exp: -interpreter-exec console "set $pc=0x0"
This is at test bug - it's pretty funny, actually. The error is
correct, but depends on the precise garbage on the stack when we set
the PC to zero - in my case, if LD_LIBRARY_PATH contains the three
items that the in-tree expect-bld.sh wrapper puts there, then we'll get
an error.
What's this trying to test, and is there some better way?
(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?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer