[rfc] [09/16] Get rid of current_gdbarch in i386-tdep.c

Markus Deuling deuling@de.ibm.com
Mon Oct 8 08:19:00 GMT 2007


Hi,

this patch gets rid of some of the current_gdbarch's in i386-tdep.c

Is this ok to commit? 


ChangeLog:

	* i386-tdep.c (i386_unwind_pc, i386_sigtramp_frame_cache)
	(i386_get_longjmp_target, i386_extract_return_value)
	(i386_store_return_value, I387_NUM_XMM_REGS, i386_register_to_value)
	(i386_value_to_register, i386_dbx_reg_to_regnum)
	(i386_svr4_reg_to_regnum, i386_frame_prev_register)
	(i386_register_to_value, i386_value_to_register): Replace
	current_gdbarch by frame-specific architecture recognition.


-- 
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-i386-tdep-c
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20071008/9d36897a/attachment.ksh>


More information about the Gdb-patches mailing list