* gdb.threads/thread-find.exp: Support remote targets.

This commit is contained in:
Ulrich Weigand 2011-08-04 12:49:33 +00:00
parent 724f4f803f
commit d4f5bbb99f
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.threads/thread-find.exp: Support remote targets.
2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.base/jit.exp: Download solib_binfile to target.

View File

@ -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 .*" \