PR tui/1703
authorDaniel Jacobowitz <drow@false.org>
Sat, 4 Dec 2004 17:21:26 +0000 (17:21 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sat, 4 Dec 2004 17:21:26 +0000 (17:21 +0000)
* linux-nat.c (linux_tracefork_child): Use _exit instead of exit.
Suggested by Joshua Neuheisel.

gdb/ChangeLog
gdb/linux-nat.c

index cbe9c1a57256159c9954590dee6540e86b6701ef..918ecdd895bbd6f4fb00b3c1c30ca800ac4caf03 100644 (file)
@@ -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.
index ef693f97712ce944b1931f8631f357426ba5bab7..a6f389e5b2ef93d0a9508b41345a6e42964a25fa 100644 (file)
@@ -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.  */
This page took 0.035444 seconds and 4 git commands to generate.