Hi, this patch adds gdbarch to register_name callback in m68hc11-tdep.c. Also two macros STACK_CORRECTION and USE_PAGE_REGISTER are being replaced/removed to get rid of current_gdbarch. Is this ok to commit? ChangeLog: * m68hc11-tdep.c (m68hc11_register_name): Add gdbarch parameter. (m68hc11_frame_unwind_cache): Use get_frame_arch to get at the current architecture by frame_info. (m68hc11_register_reggroup_p): Add gdbarch to m68hc11_register_name call. (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP macro by its expression. (M6811_TDEP): Remove. (m68hc11_register_name, m68hc11_frame_prev_register): Replace USE_PAGE_REGISTER by its expression. Replace current_gdbarch by gdbarch. (m68hc11_frame_prev_register): Use get_frame_arch to get at the current architecture by frame_info. (USE_PAGE_REGISTER): Remove. (m68hc11_frame_unwind_cache, m68hc11_push_dummy_call): Replace STACK_CORRECTION by its expression. Replace current_gdbarch by gdbarch. (STACK_CORRECTION): Remove -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com