diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-12-04 17:21:26 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-12-04 17:21:26 +0000 |
commit | 48bb3cceeb8013eeb601e7adeef1bfa0e16b1ecd (patch) | |
tree | 7f43d81f6542194ca0ddf3747d7d775a42afe51e /gdb | |
parent | b6b8ece66c352e998c7258b40747a8d1b7701cdf (diff) | |
download | gdb-48bb3cceeb8013eeb601e7adeef1bfa0e16b1ecd.zip gdb-48bb3cceeb8013eeb601e7adeef1bfa0e16b1ecd.tar.gz gdb-48bb3cceeb8013eeb601e7adeef1bfa0e16b1ecd.tar.bz2 |
PR tui/1703
* linux-nat.c (linux_tracefork_child): Use _exit instead of exit.
Suggested by Joshua Neuheisel.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/linux-nat.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cbe9c1a..918ecdd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> * gdbarch.sh (instruction_nullified): Delete. 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. */ |