diff options
Diffstat (limited to 'gdb/config/d10v')
-rw-r--r-- | gdb/config/d10v/tm-d10v.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/config/d10v/tm-d10v.h b/gdb/config/d10v/tm-d10v.h index 327adee..959c5a5 100644 --- a/gdb/config/d10v/tm-d10v.h +++ b/gdb/config/d10v/tm-d10v.h @@ -48,8 +48,7 @@ extern CORE_ADDR d10v_skip_prologue (); 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. */ @@ -84,7 +83,6 @@ extern CORE_ADDR d10v_skip_prologue (); #define SP_REGNUM 15 #define FP_REGNUM 11 #define PC_REGNUM 18 -#define PR_REGNUM 17 #define PSW_REGNUM 16 #define A0_REGNUM 32 |