* gdb.base/callfuncs.exp (do_get_all_registers): Filter out
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 31 Jan 2007 15:37:49 +0000 (15:37 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Wed, 31 Jan 2007 15:37:49 +0000 (15:37 +0000)
bspstore register on ia64.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/callfuncs.exp

index 4ce2c6c558188d942df487674970a6bdb991ae40..e3b523a8f169174fad7dae1576edecbe130da36f 100644 (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
index 12911ab5ac6390f941b1ca097740ad48579f2e08..ebcdc43cc4243fb1dcbc076e3177949f1a492d0a 100644 (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 {}
     }