aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/mn10300/tm-mn10300.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2001-05-09 02:22:35 +0000
committerJim Blandy <jimb@codesourcery.com>2001-05-09 02:22:35 +0000
commitee9f9641e044af38cd83b957504141a2d558bfa8 (patch)
tree19489288acfa7215d8cb6a7176869fc32d108f45 /gdb/config/mn10300/tm-mn10300.h
parent2ac51b362bd65205d1fa119ca6b8f372a6b0aeee (diff)
downloadgdb-ee9f9641e044af38cd83b957504141a2d558bfa8.zip
gdb-ee9f9641e044af38cd83b957504141a2d558bfa8.tar.gz
gdb-ee9f9641e044af38cd83b957504141a2d558bfa8.tar.bz2
* 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.
Diffstat (limited to 'gdb/config/mn10300/tm-mn10300.h')
-rw-r--r--gdb/config/mn10300/tm-mn10300.h3
1 files changed, 0 insertions, 3 deletions
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) \