From ee9f9641e044af38cd83b957504141a2d558bfa8 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Wed, 9 May 2001 02:22:35 +0000 Subject: * mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specific stuff out into mn10300_pop_frame_regular, and use generic_pop_current_frame. This lets us share code, and also makes this function's prototype match that expected by gdbarch. Make this function static. (mn10300_pop_frame_regular): New function. (mn10300_gdbarch_init): Register mn10300_pop_frame as the gdbarch's pop_frame method. * config/mn10300/tm-mn10300.h (POP_FRAME): Delete definition. (mn10300_pop_frame): Delete declaration. --- gdb/config/mn10300/tm-mn10300.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'gdb/config') diff --git a/gdb/config/mn10300/tm-mn10300.h b/gdb/config/mn10300/tm-mn10300.h index 7bdeb37..87d8423 100644 --- a/gdb/config/mn10300/tm-mn10300.h +++ b/gdb/config/mn10300/tm-mn10300.h @@ -57,9 +57,6 @@ #define INIT_FRAME_PC /* Not necessary */ -extern void mn10300_pop_frame (struct frame_info *); -#define POP_FRAME mn10300_pop_frame (get_current_frame ()) - /* 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) \ -- cgit v1.1