diff options
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/config/mcore/tm-mcore.h | 2 | ||||
-rw-r--r-- | gdb/mcore-tdep.c | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 90d0228..b062a43 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2001-09-19 Andrew Cagney <ac131313@redhat.com> + + * config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update + function signature to match recent tracepoint.c:encode_actions + changes. + * mcore-tdep.c (mcore_virtual_frame_pointer): Ditto. + 2001-09-18 Andrew Cagney <ac131313@redhat.com> * thread.c (do_captured_thread_select): Add uiout parameter. diff --git a/gdb/config/mcore/tm-mcore.h b/gdb/config/mcore/tm-mcore.h index 786b6fb..0fae6ac 100644 --- a/gdb/config/mcore/tm-mcore.h +++ b/gdb/config/mcore/tm-mcore.h @@ -151,7 +151,7 @@ extern use_struct_convention_fn mcore_use_struct_convention; generic_get_saved_register (raw_buffer, optimized, addrp, frame, regnum, lval) /* Cons up virtual frame pointer for trace */ -extern void mcore_virtual_frame_pointer (CORE_ADDR, long *, long *); +extern void mcore_virtual_frame_pointer (CORE_ADDR, int *, LONGEST *); #define TARGET_VIRTUAL_FRAME_POINTER(PC, REGP, OFFP) \ mcore_virtual_frame_pointer ((PC), (REGP), (OFFP)) diff --git a/gdb/mcore-tdep.c b/gdb/mcore-tdep.c index c437669..184f7b5 100644 --- a/gdb/mcore-tdep.c +++ b/gdb/mcore-tdep.c @@ -51,8 +51,6 @@ CORE_ADDR mcore_frame_args_address (struct frame_info *fi); CORE_ADDR mcore_frame_locals_address (struct frame_info *fi); -void mcore_virtual_frame_pointer (CORE_ADDR pc, long *reg, long *offset); - CORE_ADDR mcore_push_return_address (CORE_ADDR pc, CORE_ADDR sp); CORE_ADDR mcore_push_arguments (int nargs, struct value ** args, CORE_ADDR sp, @@ -649,7 +647,7 @@ mcore_frame_locals_address (struct frame_info * fi) /* Return the frame pointer in use at address PC. */ void -mcore_virtual_frame_pointer (CORE_ADDR pc, long *reg, long *offset) +mcore_virtual_frame_pointer (CORE_ADDR pc, int *reg, LONGEST *offset) { struct frame_info *dummy = analyze_dummy_frame (pc, 0); if (dummy->extra_info->status & MY_FRAME_IN_SP) |