* fork-child.c (fork_inferior): Remove CREATE_INFERIOR_HOOK again.
Stu reinstated it (accidently I assume).
+Sat Oct 16 20:47:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * infrun.c: Add comment about signals.
+
+ * fork-child.c (fork_inferior): Remove CREATE_INFERIOR_HOOK again.
+ Stu reinstated it (accidently I assume).
+
Sat Oct 16 15:27:10 1993 Stu Grossman (grossman at cygnus.com)
* procfs.c (procfs_wait): Losing Unixware can't do poll on /proc
initialize anything target-vector-specific that needs initializing. */
(*init_trace_fun)(pid);
-#ifdef CREATE_INFERIOR_HOOK
- CREATE_INFERIOR_HOOK (pid);
-#endif
-
/* The process was started by the fork that created it,
but it will have stopped one instruction after execing the shell.
Here we must get it up to actual execution of the real program. */
{
remove_breakpoints ();
target_resume (pid, 1, 0); /* Single step */
+ /* FIXME: What if a signal arrives instead of the single-step
+ happening? *?
target_wait (pid, NULL);
insert_breakpoints ();
}