Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Odd test failures - weird.exp, mi-cli.exp
@ 2004-04-19  3:45 Daniel Jacobowitz
  2004-04-19  7:38 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2004-04-19  3:45 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-19 18:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-19  3:45 Odd test failures - weird.exp, mi-cli.exp Daniel Jacobowitz
2004-04-19  7:38 ` Daniel Jacobowitz
2004-04-20 13:46   ` Mark Kettenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox