aboutsummaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-02-27 14:44:16 +0000
committerPedro Alves <palves@redhat.com>2014-02-27 14:44:16 +0000
commit2fa0369e5127bff4ea68b596b1984314feb68299 (patch)
treed38d416063b41265e5598b90bec30c8c7e05e54d /readline
parent1db37fe62781b677a37acbe801c1e69d8912a124 (diff)
downloadgdb-2fa0369e5127bff4ea68b596b1984314feb68299.zip
gdb-2fa0369e5127bff4ea68b596b1984314feb68299.tar.gz
gdb-2fa0369e5127bff4ea68b596b1984314feb68299.tar.bz2
Linux waitpid/__WALL emulation wrapper: If WNOHANG is set, don't touch sigprocmask.
Just a small optimization. No need to block/unblock signals if we're not going to call sigsuspend. gdb/ 2014-02-27 Pedro Alves <palves@redhat.com> * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG isn't set.
Diffstat (limited to 'readline')
0 files changed, 0 insertions, 0 deletions