aboutsummaryrefslogtreecommitdiff
path: root/gdb/m-hp9k320bsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m-hp9k320bsd.h')
-rw-r--r--gdb/m-hp9k320bsd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/m-hp9k320bsd.h b/gdb/m-hp9k320bsd.h
index 66c9b3b..221d3c5 100644
--- a/gdb/m-hp9k320bsd.h
+++ b/gdb/m-hp9k320bsd.h
@@ -264,13 +264,13 @@ read_memory_integer (read_register (SP_REGNUM), 4)
#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))
#define FRAME_ARGS_ADDRESS(fi) (fi.frame)
@@ -285,7 +285,7 @@ read_memory_integer (read_register (SP_REGNUM), 4)
#if 0
#define FRAME_NUM_ARGS(val, fi) \
-{ register CORE_ADDR pc = FRAME_SAVED_PC (fi.frame); \
+{ register CORE_ADDR pc = FRAME_SAVED_PC (fi.frame,0); \
register int insn = 0177777 & read_memory_integer (pc, 2); \
val = 0; \
if (insn == 0047757 || insn == 0157374) /* lea W(sp),sp or addaw #W,sp */ \