Hi, this patch removes the last occurences of current_gdbarch in mn10300 target. Tested by building mn1030 target. Ok to commit ? ChangeLog: * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter. * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use get_frame_arch to get at the current_architecture. Update AM33_MODE call. Regards, Markus -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com