diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-18 23:06:19 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-18 23:06:19 +0000 |
commit | 8c5e00215379d3a2ca71207fd071bf4394e5d392 (patch) | |
tree | 34e20b7222ab8ef4ab1292d48778c663d55ce391 /gdb/hppa-tdep.c | |
parent | 8b5405d2e5f6e5c83396372039f8485b7b7994e5 (diff) | |
download | gdb-8c5e00215379d3a2ca71207fd071bf4394e5d392.zip gdb-8c5e00215379d3a2ca71207fd071bf4394e5d392.tar.gz gdb-8c5e00215379d3a2ca71207fd071bf4394e5d392.tar.bz2 |
* hppa-tdep.c (restore_pc_queue): Call target_terminal_ours after
done stepping the inferior.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 058c874..08f9e4e 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -868,6 +868,11 @@ restore_pc_queue (fsr) for (insn_count = 0; insn_count < 3; insn_count++) { + /* FIXME: What if the inferior gets a signal right now? Want to + merge this into wait_for_inferior (as a special kind of + watchpoint? By setting a breakpoint at the end? Is there + any other choice? Is there *any* way to do this stuff with + ptrace() or some equivalent?). */ resume (1, 0); target_wait(inferior_pid, &w); @@ -881,6 +886,7 @@ restore_pc_queue (fsr) return 0; } } + target_terminal_ours (); fetch_inferior_registers (-1); return 1; } |