From 48bb3cceeb8013eeb601e7adeef1bfa0e16b1ecd Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sat, 4 Dec 2004 17:21:26 +0000 Subject: PR tui/1703 * linux-nat.c (linux_tracefork_child): Use _exit instead of exit. Suggested by Joshua Neuheisel. --- gdb/linux-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/linux-nat.c') diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index ef693f9..a6f389e 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -147,7 +147,7 @@ linux_tracefork_child (void) ptrace (PTRACE_TRACEME, 0, 0, 0); kill (getpid (), SIGSTOP); fork (); - exit (0); + _exit (0); } /* Wrapper function for waitpid which handles EINTR. */ -- cgit v1.1