(frameless_function_invocation): New function.
(frame_saved_pc, init_extra_frame_info): Use
frameless_function_invocation.
- * gdb/config/tm-hppa.h (SAVED_PC_AFTER_CALL): Use saved_pc_after
+ * gdb/config/pa/tm-hppa.h (SAVED_PC_AFTER_CALL): Use saved_pc_after
call instead of just grabbing the value currently in %r2.
(FRAMELESS_FUNCTION_INVOCATION): Use frameless_function_invocation.
- * gdb/config/tm-hppah.h (SAVED_PC_AFTER_CALL): Delete private
+ * gdb/config/pa/tm-hppah.h (SAVED_PC_AFTER_CALL): Delete private
definition and use the common one in tm-hppa.h.
* gdb/hppa-tdep.c (frame_chain_valid): If "use_unwind" is true, then
use unwind descriptors to determine if the frame chain is valid.