From e0441cf0e1b1c7e126ca50f8ce4c4a40561187b5 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 19 Sep 2001 20:43:54 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 7 +++++++ gdb/config/mcore/tm-mcore.h | 2 +- gdb/mcore-tdep.c | 4 +--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 90d02287da7..b062a43dcbb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2001-09-19 Andrew Cagney + + * 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 * 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 786b6fbc82b..0fae6ac1f03 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 c43766931a4..184f7b57e50 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) -- 2.30.2