* gdb.base/callfuncs.exp (do_get_all_registers): Filter out

bspstore register on ia64.
This commit is contained in:
Andreas Schwab 2007-01-31 15:37:49 +00:00
parent 16cecee58c
commit 783e3e2f8e
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -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 {}
}