diff options
Diffstat (limited to 'gdb/sh-stub.c')
-rw-r--r-- | gdb/sh-stub.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/sh-stub.c b/gdb/sh-stub.c index 86c3f0b..beb8708 100644 --- a/gdb/sh-stub.c +++ b/gdb/sh-stub.c @@ -895,13 +895,13 @@ doSStep (void) *instrMem = SSTEP_INSTR; } + +/* Undo the effect of a previous doSStep. If we single stepped, + restore the old instruction. */ + void undoSStep (void) { - /* - If we single stepped, - restore the old instruction! -*/ if (stepped) { short *instrMem; instrMem = instrBuffer.memAddr; |