* 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.
This commit is contained in:
Andrew Cagney 2001-09-19 20:43:54 +00:00
parent d5b2f4d67c
commit e0441cf0e1
3 changed files with 9 additions and 4 deletions

View File

@ -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> 2001-09-18 Andrew Cagney <ac131313@redhat.com>
* thread.c (do_captured_thread_select): Add uiout parameter. * thread.c (do_captured_thread_select): Add uiout parameter.

View File

@ -151,7 +151,7 @@ extern use_struct_convention_fn mcore_use_struct_convention;
generic_get_saved_register (raw_buffer, optimized, addrp, frame, regnum, lval) generic_get_saved_register (raw_buffer, optimized, addrp, frame, regnum, lval)
/* Cons up virtual frame pointer for trace */ /* 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) \ #define TARGET_VIRTUAL_FRAME_POINTER(PC, REGP, OFFP) \
mcore_virtual_frame_pointer ((PC), (REGP), (OFFP)) mcore_virtual_frame_pointer ((PC), (REGP), (OFFP))

View File

@ -51,8 +51,6 @@ CORE_ADDR mcore_frame_args_address (struct frame_info *fi);
CORE_ADDR mcore_frame_locals_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_return_address (CORE_ADDR pc, CORE_ADDR sp);
CORE_ADDR mcore_push_arguments (int nargs, struct value ** args, 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. */ /* Return the frame pointer in use at address PC. */
void 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); struct frame_info *dummy = analyze_dummy_frame (pc, 0);
if (dummy->extra_info->status & MY_FRAME_IN_SP) if (dummy->extra_info->status & MY_FRAME_IN_SP)