aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-12-04 17:21:26 +0000
committerDaniel Jacobowitz <drow@false.org>2004-12-04 17:21:26 +0000
commit48bb3cceeb8013eeb601e7adeef1bfa0e16b1ecd (patch)
tree7f43d81f6542194ca0ddf3747d7d775a42afe51e /gdb/linux-nat.c
parentb6b8ece66c352e998c7258b40747a8d1b7701cdf (diff)
downloadgdb-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/linux-nat.c')
-rw-r--r--gdb/linux-nat.c2
1 files changed, 1 insertions, 1 deletions
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. */