* mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specific
authorJim Blandy <jimb@codesourcery.com>
Wed, 9 May 2001 02:22:35 +0000 (02:22 +0000)
committerJim Blandy <jimb@codesourcery.com>
Wed, 9 May 2001 02:22:35 +0000 (02:22 +0000)
commitee9f9641e044af38cd83b957504141a2d558bfa8
tree19489288acfa7215d8cb6a7176869fc32d108f45
parent2ac51b362bd65205d1fa119ca6b8f372a6b0aeee
* 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/ChangeLog
gdb/config/mn10300/tm-mn10300.h
gdb/mn10300-tdep.c