Avoid killing all processes.

gdb/ChangeLog:

        * gdb.threads/step-after-sr-lock.exp: Avoid executing
        "kill -SIGUSR1 -1".
This commit is contained in:
Mark Kettenis 2014-02-10 17:58:03 +01:00
parent 4b7d1f7fb4
commit 1dfdac3275
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-02-10 Mark Kettenis <kettenis@gnu.org>
* gdb.threads/step-after-sr-lock.exp: Avoid executing
"kill -SIGUSR1 -1".
2014-02-10 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/tick_length_array_enum_idx: New testcase.

View File

@ -68,6 +68,9 @@ gdb_continue_to_breakpoint "run to breakpoint"
gdb_test "info threads" "" "info threads with thread 3"
set testpid [get_value "pid" "get pid of inferior"]
if { $testpid == -1 } {
return -1
}
gdb_test "set scheduler-locking on"