mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 05:12:28 +08:00
PR tui/1703
* linux-nat.c (linux_tracefork_child): Use _exit instead of exit. Suggested by Joshua Neuheisel.
This commit is contained in:
@ -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. */
|
||||
|
Reference in New Issue
Block a user