Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Testsuite failures in gdb.base/callfuncs.exp
@ 2007-01-31 12:33 Andreas Schwab
  2007-01-31 12:49 ` Daniel Jacobowitz
  0 siblings, 1 reply; 11+ messages in thread
From: Andreas Schwab @ 2007-01-31 12:33 UTC (permalink / raw)
  To: gdb-patches

This fixes these testsuite failures on ia64:

FAIL: gdb.base/callfuncs.exp: gdb function calls preserve register contents
FAIL: gdb.base/callfuncs.exp: continue after stop in call dummy preserves register contents
FAIL: gdb.base/callfuncs.exp: return after stop in call dummy preserves register contents

The problem is that the bspstore register is specially tied with the bsp
register, and this can't be controlled by gdb.

Andreas.

2007-01-31  Andreas Schwab  <schwab@suse.de>

	* gdb.base/callfuncs.exp (do_get_all_registers): Filter out
	bspstore register on ia64.

--- gdb/testsuite/gdb.base/callfuncs.exp.~1.18.~	2007-01-10 11:18:57.000000000 +0100
+++ gdb/testsuite/gdb.base/callfuncs.exp	2007-01-31 13:28:38.000000000 +0100
@@ -248,6 +248,11 @@ proc do_get_all_registers { } {
     gdb_expect {
 	-re "info all-registers\r\n(.*)$gdb_prompt $" {
 	    set all_registers_content $expect_out(1,string)
+	    if [istarget "ia64-*-*"] {
+		# Filter out bspstore which is specially tied to bsp,
+		# giving spurious differences.
+		regsub {\nbspstore[^\n]*\n} $all_registers_content "\n" all_registers_content
+	    }
 	}
 	default {}
     }

-- 
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] 11+ messages in thread

end of thread, other threads:[~2007-02-08 17:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-31 12:33 Testsuite failures in gdb.base/callfuncs.exp Andreas Schwab
2007-01-31 12:49 ` Daniel Jacobowitz
2007-01-31 13:56   ` Andreas Schwab
2007-01-31 14:15     ` Daniel Jacobowitz
2007-01-31 14:57       ` Andreas Schwab
2007-01-31 15:10         ` Daniel Jacobowitz
2007-01-31 15:35           ` Andreas Schwab
2007-01-31 15:40             ` Daniel Jacobowitz
2007-02-01 22:53           ` Mark Kettenis
2007-02-01 23:29             ` Andreas Schwab
2007-02-08 17:03               ` Daniel Jacobowitz

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