From: Luis Machado Date: Sat, 6 Jul 2013 02:32:31 +0000 (+0000) Subject: * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb3f62fce7cb17a833ff77568eb620406d3bf1ad;p=binutils-gdb.git * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for the register number instead of expecting only 0. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a765a327f1c..9e0658d1e8d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-07-05 Luis Machado + + * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for + the register number instead of expecting only 0. + 2013-07-05 Will Newton * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function diff --git a/gdb/testsuite/gdb.mi/gdb2549.exp b/gdb/testsuite/gdb.mi/gdb2549.exp index 5c1fede6f9c..597d098bdd4 100644 --- a/gdb/testsuite/gdb.mi/gdb2549.exp +++ b/gdb/testsuite/gdb.mi/gdb2549.exp @@ -56,23 +56,23 @@ proc register_tests { } { set float "\\-?((\[0-9\]+(\\.\[0-9\]+)?(e\[-+\]\[0-9\]+)?)|(nan\\($hex\\)))" mi_gdb_test "222-data-list-register-values x" \ - "222\\^done,register-values=\\\[\{number=\"0\",value=\"$hex\"\}.*\\\]" \ + "222\\^done,register-values=\\\[\{number=\"$decimal\",value=\"$hex\"\}.*\\\]" \ "register values x" mi_gdb_test "333-data-list-register-values f" \ - "333\\^done,register-values=\\\[\{number=\"0\",value=\"$float\"\}.*\\\]" \ + "333\\^done,register-values=\\\[\{number=\"$decimal\",value=\"$float\"\}.*\\\]" \ "register values f" mi_gdb_test "444-data-list-register-values d" \ - "444\\^done,register-values=\\\[\{number=\"0\",value=\"-?$decimal\"\}.*\\\]" \ + "444\\^done,register-values=\\\[\{number=\"$decimal\",value=\"-?$decimal\"\}.*\\\]" \ "register values d" mi_gdb_test "555-data-list-register-values o" \ - "555\\^done,register-values=\\\[\{number=\"0\",value=\"$octal\"\}.*\\\]" \ + "555\\^done,register-values=\\\[\{number=\"$decimal\",value=\"$octal\"\}.*\\\]" \ "register values o" mi_gdb_test "666-data-list-register-values t" \ - "666\\^done,register-values=\\\[\{number=\"0\",value=\"$binary\"\}.*\\\]" \ + "666\\^done,register-values=\\\[\{number=\"$decimal\",value=\"$binary\"\}.*\\\]" \ "register values t" }