Avoid killing all processes.
gdb/ChangeLog: * gdb.threads/step-after-sr-lock.exp: Avoid executing "kill -SIGUSR1 -1".
This commit is contained in:
parent
4b7d1f7fb4
commit
1dfdac3275
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue