* Fix spurious testsuite failure "up in corefile.exp (reinit)"
@ 2007-01-26 14:31 Andreas Schwab
2007-01-26 14:49 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2007-01-26 14:31 UTC (permalink / raw)
To: gdb-patches
This fixes a spurious testsuite failure on ia64. The full backtrace is
this:
#0 0xa000000000010620 in __kernel_syscall_via_break ()
#1 0x20000000001a3d40 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
#2 0x20000000001a6450 in *__GI_abort () at abort.c:88
#3 0x4000000000001020 in func2 () at /cvs/gdb/gdb/testsuite/gdb.base/coremaker.c:127
#4 0x4000000000001060 in func1 () at /cvs/gdb/gdb/testsuite/gdb.base/coremaker.c:133
#5 0x40000000000010e0 in main () at /cvs/gdb/gdb/testsuite/gdb.base/coremaker.c:139
Thus "up" gets you to __GI_raise. The first "up" test already allows a
non-empty arg list.
Andreas.
2007-01-26 Andreas Schwab <schwab@suse.de>
* gdb.base/corefile.exp: Allow non-empty argument list in reinit
test.
--- gdb/testsuite/gdb.base/corefile.exp.~1.11.~ 2007-01-10 11:18:57.000000000 +0100
+++ gdb/testsuite/gdb.base/corefile.exp 2007-01-26 15:24:24.000000000 +0100
@@ -239,6 +239,6 @@ gdb_test_multiple "x/8bd buf2" "$test" {
# test reinit_frame_cache
gdb_load ${binfile}
-gdb_test "up" "#\[0-9\]* *\[0-9xa-fH'\]* in .* \\(\\).*" "up in corefile.exp (reinit)"
+gdb_test "up" "#\[0-9\]* *\[0-9xa-fH'\]* in .* \\(.*\\).*" "up in corefile.exp (reinit)"
gdb_test "core" "No core file now."
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-26 14:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-26 14:31 Fix spurious testsuite failure "up in corefile.exp (reinit)" Andreas Schwab
2007-01-26 14:49 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox