diff options
author | Mark Alexander <marka@cygnus> | 1998-08-24 21:51:33 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1998-08-24 21:51:33 +0000 |
commit | ce8f5b49f69cd6cdffc9548aa3b409876f05c2a5 (patch) | |
tree | c2b2d27e9607ed93c0f1b1c1e9caea72ca5f4f14 /gdb/sh-stub.c | |
parent | 080a50b635c8b89b09d3bf25e2e24dd9944ec54e (diff) | |
download | gdb-ce8f5b49f69cd6cdffc9548aa3b409876f05c2a5.zip gdb-ce8f5b49f69cd6cdffc9548aa3b409876f05c2a5.tar.gz gdb-ce8f5b49f69cd6cdffc9548aa3b409876f05c2a5.tar.bz2 |
* sh-stub.c (undoSStep): Improve comment.
* sparc-tdep.c (sparc_extract_struct_value_address): Simplify to use
same method on both 32-bit and 64-bit machines.
* sparcl-tdep.c (sparclite_check_watch_resources): Simulator doesn't
support hardware breakpoints.
* config/sparc/tm-sparc.h (CALL_DUMMY): Improve comments.
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; |