aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2007-01-31 15:37:49 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2007-01-31 15:37:49 +0000
commit783e3e2f8e9e3aa31f816d7b9a90a6116be0aa76 (patch)
tree55db78ddc3ff963e2854ea27f535fa4b371d43bd /gdb
parent16cecee58c89efff1da4d90daaccbc5861f74794 (diff)
downloadgdb-783e3e2f8e9e3aa31f816d7b9a90a6116be0aa76.zip
gdb-783e3e2f8e9e3aa31f816d7b9a90a6116be0aa76.tar.gz
gdb-783e3e2f8e9e3aa31f816d7b9a90a6116be0aa76.tar.bz2
* gdb.base/callfuncs.exp (do_get_all_registers): Filter out
bspstore register on ia64.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/callfuncs.exp5
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 4ce2c6c..e3b523a 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-31 Andreas Schwab <schwab@suse.de>
+
+ * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
+ bspstore register on ia64.
+
2007-01-29 Andreas Schwab <schwab@suse.de>
* gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
diff --git a/gdb/testsuite/gdb.base/callfuncs.exp b/gdb/testsuite/gdb.base/callfuncs.exp
index 12911ab..ebcdc43 100644
--- a/gdb/testsuite/gdb.base/callfuncs.exp
+++ b/gdb/testsuite/gdb.base/callfuncs.exp
@@ -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 {}
}