diff options
Diffstat (limited to 'gdb/m-umax.h')
-rw-r--r-- | gdb/m-umax.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/m-umax.h b/gdb/m-umax.h index f918738..1065728 100644 --- a/gdb/m-umax.h +++ b/gdb/m-umax.h @@ -266,13 +266,13 @@ anyone else from sharing it farther. Help stamp out software hoarding! #define FRAME_CHAIN(thisframe) (read_memory_integer (thisframe, 4)) #define FRAME_CHAIN_VALID(chain, thisframe) \ - (chain != 0 && (FRAME_SAVED_PC (thisframe) >= first_object_file_end)) + (chain != 0 && (FRAME_SAVED_PC (thisframe,0) >= first_object_file_end)) #define FRAME_CHAIN_COMBINE(chain, thisframe) (chain) /* Define other aspects of the stack frame. */ -#define FRAME_SAVED_PC(frame) (read_memory_integer (frame + 4, 4)) +#define FRAME_SAVED_PC(frame,ignore) (read_memory_integer (frame + 4, 4)) /* Compute base of arguments. */ @@ -311,7 +311,7 @@ extern CORE_ADDR ns32k_get_enter_addr (); { \ pc = (enter_addr == 1) ? \ SAVED_PC_AFTER_CALL () : \ - FRAME_SAVED_PC (fi.frame); \ + FRAME_SAVED_PC (fi.frame,0); \ insn = read_memory_integer (pc,2); \ addr_mode = (insn >> 11) & 0x1f; \ insn = insn & 0x7ff; \ |