PR tui/1703
* linux-nat.c (linux_tracefork_child): Use _exit instead of exit. Suggested by Joshua Neuheisel.
This commit is contained in:
parent
b6b8ece66c
commit
48bb3cceeb
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2004-12-04 Daniel Jacobowitz <dan@debian.org>
|
||||||
|
|
||||||
|
PR tui/1703
|
||||||
|
* linux-nat.c (linux_tracefork_child): Use _exit instead of exit.
|
||||||
|
Suggested by Joshua Neuheisel.
|
||||||
|
|
||||||
2004-12-03 Randolph Chung <tausq@debian.org>
|
2004-12-03 Randolph Chung <tausq@debian.org>
|
||||||
|
|
||||||
* gdbarch.sh (instruction_nullified): Delete.
|
* gdbarch.sh (instruction_nullified): Delete.
|
||||||
|
|
|
@ -147,7 +147,7 @@ linux_tracefork_child (void)
|
||||||
ptrace (PTRACE_TRACEME, 0, 0, 0);
|
ptrace (PTRACE_TRACEME, 0, 0, 0);
|
||||||
kill (getpid (), SIGSTOP);
|
kill (getpid (), SIGSTOP);
|
||||||
fork ();
|
fork ();
|
||||||
exit (0);
|
_exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Wrapper function for waitpid which handles EINTR. */
|
/* Wrapper function for waitpid which handles EINTR. */
|
||||||
|
|
Loading…
Add table
Reference in a new issue