[rfc] [01/09] Get rid of current_gdbarch (s390 SUBOFF)

Markus Deuling deuling@de.ibm.com
Mon Nov 5 12:23:00 GMT 2007


Hi,

the macro SUBOFF in s390-nat uses current_gdbarch. This patchs extends SUBOFF by gdbarch and updates
all callers.

Tested by gdb_mbuild. Is this ok to commit?

ChangeLog: 


	* s390-nat.c (supply_gregset, fill_gregset): Use get_regcache_arch to
	get at the current architecture by regcache.
	(SUBOFF): Add gdbarch to macro definition. Update callers.


-- 
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-s390
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20071105/7698a5f6/attachment.ksh>


More information about the Gdb-patches mailing list