diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2011-08-04 12:49:33 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2011-08-04 12:49:33 +0000 |
commit | d4f5bbb99f86e3b502d1d4b08086fc9aab668867 (patch) | |
tree | f7117e8f2aa8dc08d300613d99e2f291cb43b0cd /gdb/testsuite/gdb.threads | |
parent | 724f4f803fdf847c971f47f1dec8deb3ab6842d2 (diff) | |
download | gdb-d4f5bbb99f86e3b502d1d4b08086fc9aab668867.zip gdb-d4f5bbb99f86e3b502d1d4b08086fc9aab668867.tar.gz gdb-d4f5bbb99f86e3b502d1d4b08086fc9aab668867.tar.bz2 |
* gdb.threads/thread-find.exp: Support remote targets.
Diffstat (limited to 'gdb/testsuite/gdb.threads')
-rw-r--r-- | gdb/testsuite/gdb.threads/thread-find.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.threads/thread-find.exp b/gdb/testsuite/gdb.threads/thread-find.exp index 305cc2c..c472394 100644 --- a/gdb/testsuite/gdb.threads/thread-find.exp +++ b/gdb/testsuite/gdb.threads/thread-find.exp @@ -38,6 +38,10 @@ runto_main gdb_breakpoint [gdb_get_line_number "linuxthreads.exp: info threads 2"] gdb_continue_to_breakpoint "main thread's sleep" +# Make sure thread list is up-to-date (in case remote targets have not yet +# reported thread creation events) +gdb_test "info threads" + # Create thread names. gdb_test "thread apply 1 thread name threadname_1" \ "Thread 1 .*" \ |