[patch] Remove all current_gdbarch's in mn10300

Markus Deuling deuling@de.ibm.com
Fri Jan 11 16:54:00 GMT 2008


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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-mn10300
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080111/8ed1cc08/attachment.ksh>


More information about the Gdb-patches mailing list