diff options
Diffstat (limited to 'gdb/nat/linux-waitpid.c')
-rw-r--r-- | gdb/nat/linux-waitpid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/nat/linux-waitpid.c b/gdb/nat/linux-waitpid.c index 0ac2f9f..8ee7d97 100644 --- a/gdb/nat/linux-waitpid.c +++ b/gdb/nat/linux-waitpid.c @@ -1,6 +1,6 @@ /* Wrapper implementation for waitpid for GNU/Linux (LWP layer). - Copyright (C) 2001-2024 Free Software Foundation, Inc. + Copyright (C) 2001-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -51,5 +51,5 @@ status_to_str (int status) int my_waitpid (int pid, int *status, int flags) { - return gdb::handle_eintr (-1, ::waitpid, pid, status, flags); + return gdb::waitpid (pid, status, flags); } |