From: Andreas Schwab Date: Wed, 31 Jan 2007 15:37:49 +0000 (+0000) Subject: * gdb.base/callfuncs.exp (do_get_all_registers): Filter out X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=783e3e2f8e9e3aa31f816d7b9a90a6116be0aa76;p=binutils-gdb.git * gdb.base/callfuncs.exp (do_get_all_registers): Filter out bspstore register on ia64. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4ce2c6c5581..e3b523a8f16 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-01-31 Andreas Schwab + + * gdb.base/callfuncs.exp (do_get_all_registers): Filter out + bspstore register on ia64. + 2007-01-29 Andreas Schwab * 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 12911ab5ac6..ebcdc43cc42 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 {} }