diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-17 01:56:01 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-17 01:56:01 +0000 |
commit | 749e538bc872c9c238ab792dbdcc9156d3363150 (patch) | |
tree | a1a1e1233f29ddc90a2b6ab3ec48c3fb948e463d | |
parent | 7c5d526e1f7183353e8ede9612ca7edd0b06b1ce (diff) | |
download | gdb-749e538bc872c9c238ab792dbdcc9156d3363150.zip gdb-749e538bc872c9c238ab792dbdcc9156d3363150.tar.gz gdb-749e538bc872c9c238ab792dbdcc9156d3363150.tar.bz2 |
* infrun.c: Add comment about signals.
* fork-child.c (fork_inferior): Remove CREATE_INFERIOR_HOOK again.
Stu reinstated it (accidently I assume).
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/fork-child.c | 4 | ||||
-rw-r--r-- | gdb/infrun.c | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 578a35e..9ff409f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +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 diff --git a/gdb/fork-child.c b/gdb/fork-child.c index 9aa3cfe..3c01b60 100644 --- a/gdb/fork-child.c +++ b/gdb/fork-child.c @@ -244,10 +244,6 @@ fork_inferior (exec_file, allargs, env, traceme_fun, init_trace_fun) 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. */ diff --git a/gdb/infrun.c b/gdb/infrun.c index c4e58ce..bde5597 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -584,6 +584,8 @@ wait_for_inferior () { 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 (); } |