[rfc] [05/17] Get rid of current_gdbarch in c-lang.c

Markus Deuling deuling@de.ibm.com
Thu Oct 11 08:56:00 GMT 2007


Hi,

this patch gets rid of some of the current_gdbarch's in c-lang.c
Is this ok to commit? 


ChangeLog: 


	* c-lang.c: Add new include objfiles.h
	(c_create_fundamental_type): Use objfile->gdbarch to get
	at the current architecture.
	* Makefile.in (c-lang.o): Add dependency on objfile.h.

-- 
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-c-lang
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20071011/21dc6b64/attachment.ksh>


More information about the Gdb-patches mailing list