diff options
author | Pedro Alves <palves@redhat.com> | 2010-07-29 23:19:46 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-07-29 23:19:46 +0000 |
commit | 88caa9b9226dc59a689c0ed64902d2fc52ac7c1d (patch) | |
tree | da978c55599e5a3c17dcaf8fb0d888c8f9df77cb /gdb | |
parent | f09c177238e5c103c2d1e8bb60b953cdb77b111f (diff) | |
download | gdb-88caa9b9226dc59a689c0ed64902d2fc52ac7c1d.zip gdb-88caa9b9226dc59a689c0ed64902d2fc52ac7c1d.tar.gz gdb-88caa9b9226dc59a689c0ed64902d2fc52ac7c1d.tar.bz2 |
* gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
in gdb_test_multiple.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.threads/pthreads.exp | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a3ae15e..275f2fd 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2010-07-29 Pedro Alves <pedro@codesourcery.com> + * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt + in gdb_test_multiple. + +2010-07-29 Pedro Alves <pedro@codesourcery.com> + * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the environment. diff --git a/gdb/testsuite/gdb.threads/pthreads.exp b/gdb/testsuite/gdb.threads/pthreads.exp index d2a8968..9662fea 100644 --- a/gdb/testsuite/gdb.threads/pthreads.exp +++ b/gdb/testsuite/gdb.threads/pthreads.exp @@ -269,16 +269,16 @@ proc check_backtraces {} { "set break at common_routine in thread 2" gdb_test_multiple "continue" "continue to bkpt at common_routine in thread 2" { - -re "Breakpoint .* common_routine \\(arg=2\\).*" { + -re "Breakpoint .* common_routine \\(arg=2\\).*$gdb_prompt $" { pass "continue to bkpt at common_routine in thread 2" gdb_test "backtrace" \ "#0.*common_routine \\(arg=2\\).*#1.*thread2.*" \ "backtrace from thread 2 bkpt in common_routine" } - -re "Breakpoint .* common_routine \\(arg=0\\).*" { + -re "Breakpoint .* common_routine \\(arg=0\\).*$gdb_prompt $" { fail "continue to bkpt at common_routine in thread 2 (arg=0)" } - -re "Breakpoint .* common_routine \\(arg=1\\).*" { + -re "Breakpoint .* common_routine \\(arg=1\\).*$gdb_prompt $" { fail "continue to bkpt at common_routine in thread 2 (arg=1)" } } |