From 39d4ef0921acdfe6433b9630a37e3fc957b6d797 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 11 Aug 2001 00:59:29 +0000 Subject: * target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched. * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add. * gdbarch.h, gdbarch.c: Regenerate. * arch-utils.h (legacy_virtual_frame_pointer): Declare. * arch-utils.c: Include "gdb_assert.h". (legacy_virtual_frame_pointer): Define. * Makefile.in (arch-utils.o): Depends on gdb_assert.h. * tracepoint.c (encode_actions): Make frame_reg an int. Make frame_offset a LONGEST. * ax-gdb.c (gen_frame_args_address): Ditto. (gen_frame_locals_address): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Initialize virtual_frame_pointer. (mn10300_virtual_frame_pointer): Make static. Update parameter list to match function signature. * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete. --- gdb/config/mn10300/tm-mn10300.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gdb/config/mn10300/tm-mn10300.h') diff --git a/gdb/config/mn10300/tm-mn10300.h b/gdb/config/mn10300/tm-mn10300.h index 5178015..7931d6d 100644 --- a/gdb/config/mn10300/tm-mn10300.h +++ b/gdb/config/mn10300/tm-mn10300.h @@ -73,8 +73,3 @@ enum movm_register_bits { }; #define INIT_FRAME_PC /* Not necessary */ - -/* Cons up virtual frame pointer for trace */ -extern void mn10300_virtual_frame_pointer (CORE_ADDR, long *, long *); -#define TARGET_VIRTUAL_FRAME_POINTER(PC, REGP, OFFP) \ - mn10300_virtual_frame_pointer ((PC), (REGP), (OFFP)) -- cgit v1.1