Descriptionadb_gdb allows ctrl-c for interrupting the debuggee
Previously adb_gdb started the gdbserver in a backgrounded bash
subprocess. As a result, it was receiving SIGINTs when you used
ctrl-c to to interrupt the debuggee in gdb. Now it's started
backgrounded, but not in a subshell, which means it will be set
to ignore SIGINT. (This behavior is under the "SIGNALS" heading
in the bash man page.) It will still get killed by the EXIT
trap, so it doesn't leak.
BUG=
Committed: https://crrev.com/458e26c62669faec41db97e60ae050dc60775e82
Cr-Commit-Position: refs/heads/master@{#361713}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|