diff options
author | Pedro Alves <palves@redhat.com> | 2014-02-27 14:44:16 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-02-27 14:44:16 +0000 |
commit | 2fa0369e5127bff4ea68b596b1984314feb68299 (patch) | |
tree | d38d416063b41265e5598b90bec30c8c7e05e54d /readline | |
parent | 1db37fe62781b677a37acbe801c1e69d8912a124 (diff) | |
download | gdb-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