Hi, this patch replaces AM33 macro from n10300 target and then replaces current_gdbarch by appropriate methods. Tested building with --target=mn10300. Ok to commit? ChangeLog: * mn10300-tdep.c (set_reg_offsets,mn10300_analyze_prologue): Replace AM33 by its expression. Use get_frame_arch to get at the current architecture by frame_info. * mn10300-tdep.h (AM33_MODE): Remove. -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com