diff options
author | gdb-2.8.1 <gdb@fsf.org> | 1988-12-16 00:00:00 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-06-03 15:36:31 +0100 |
commit | bb7592f01006b09c846831a9fb9c306307ba34f6 (patch) | |
tree | 83e99233f937d7a06eee7c627543288feb125929 /gdb/m-hp9k320.h | |
parent | 3bf57d210832b28e9361990830eb722a619f031b (diff) | |
download | gdb-bb7592f01006b09c846831a9fb9c306307ba34f6.zip gdb-bb7592f01006b09c846831a9fb9c306307ba34f6.tar.gz gdb-bb7592f01006b09c846831a9fb9c306307ba34f6.tar.bz2 |
gdb-2.8.1
Diffstat (limited to 'gdb/m-hp9k320.h')
-rw-r--r-- | gdb/m-hp9k320.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/m-hp9k320.h b/gdb/m-hp9k320.h index 3b83833..20209ce 100644 --- a/gdb/m-hp9k320.h +++ b/gdb/m-hp9k320.h @@ -256,13 +256,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) @@ -277,7 +277,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 */ \ |