diff options
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r-- | gdb/linux-nat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 3666ed6..f1b2c74 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -802,7 +802,7 @@ linux_nat_target::pass_signals { int target_signo = gdb_signal_from_host (signo); if (target_signo < pass_signals.size () && pass_signals[target_signo]) - sigaddset (&pass_mask, signo); + sigaddset (&pass_mask, signo); } } @@ -1044,7 +1044,7 @@ linux_nat_post_attach_wait (ptid_t ptid, int *signalled) ptrace stop. Make sure it is in a ptrace stop; from there we can kill it, signal it, et cetera. - First make sure there is a pending SIGSTOP. Since we are + First make sure there is a pending SIGSTOP. Since we are already attached, the process can not transition from stopped to running without a PTRACE_CONT; so we know this signal will go into the queue. The SIGSTOP generated by PTRACE_ATTACH is @@ -3621,7 +3621,7 @@ siginfo_fixup (siginfo_t *siginfo, gdb_byte *inf_siginfo, int direction) static enum target_xfer_status linux_xfer_siginfo (enum target_object object, - const char *annex, gdb_byte *readbuf, + const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) { |