diff options
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/jit.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5484618..c513d08 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2014-06-06 Yao Qi <yao@codesourcery.com> + * gdb.base/jit.exp (one_jit_test): Restrict the pattern + from "jit_function" to "^jit_function". + +2014-06-06 Yao Qi <yao@codesourcery.com> + * gdb.base/async.c (foo): Add one statement. * gdb.base/async.exp: Get the next instruction address and match the output of "nexti" by instruction address. Match diff --git a/gdb/testsuite/gdb.base/jit.exp b/gdb/testsuite/gdb.base/jit.exp index 366c8b3..ca6e6c3 100644 --- a/gdb/testsuite/gdb.base/jit.exp +++ b/gdb/testsuite/gdb.base/jit.exp @@ -93,7 +93,7 @@ proc one_jit_test {count match_str} { gdb_breakpoint [gdb_get_line_number "break here 1"] gdb_continue_to_breakpoint "break here 1" - gdb_test "info function jit_function" "$match_str" + gdb_test "info function ^jit_function" "$match_str" # This is just to help debugging when things fail if {$verbose > 0} { |