Skip to content

Commit

Permalink
Reduce the requirements of dko to any reason with a signum (radareorg…
Browse files Browse the repository at this point in the history
  • Loading branch information
atrodo authored and radare committed Sep 20, 2016
1 parent 9347bf4 commit 503b3a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libr/debug/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ R_API int r_debug_continue_kill(RDebug *dbg, int sig) {

/* handle general signals here based on the return from the wait
* function */
if (reason == R_DEBUG_REASON_SIGNAL && dbg->reason.signum != -1) {
if (dbg->reason.signum != -1) {
int what = r_debug_signal_what (dbg, dbg->reason.signum);
if (what & R_DBG_SIGNAL_CONT) {
sig = dbg->reason.signum;
Expand Down

0 comments on commit 503b3a9

Please sign in to comment.