* tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed.
Now single-steps correctly.
The return address is the value saved in the PR register + 4 */
-#define SAVED_PC_AFTER_CALL(frame) \
- (ADDR_BITS_REMOVE(read_register(PR_REGNUM)))
+#define SAVED_PC_AFTER_CALL(frame) (read_register(LR_REGNUM) << 2 )
/* Stack grows downward. */
#define SP_REGNUM 15
#define FP_REGNUM 11
#define PC_REGNUM 18
-#define PR_REGNUM 17
#define PSW_REGNUM 16
#define A0_REGNUM 32