* gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd

landed.  Should also fix random failures in the test following it.
This commit is contained in:
Joel Brobecker 2008-01-08 18:17:30 +00:00
parent a84a8a0d30
commit 88e2547f13
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-01-08 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
landed. Should also fix random failures in the test following it.
2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests

View File

@ -39,6 +39,10 @@ if { [gdb_start_cmd] < 0 } {
return -1
}
gdb_test "" \
"dummy \\(\\) at .*dummy.adb:.*" \
"start inferior"
gdb_test "p /x \$pc" \
"0x\[0-9a-zA-Z\]+" \
"p /x \$pc"