aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-17 01:56:01 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-17 01:56:01 +0000
commit749e538bc872c9c238ab792dbdcc9156d3363150 (patch)
treea1a1e1233f29ddc90a2b6ab3ec48c3fb948e463d /gdb/infrun.c
parent7c5d526e1f7183353e8ede9612ca7edd0b06b1ce (diff)
downloadgdb-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).
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c2
1 files changed, 2 insertions, 0 deletions
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 ();
}