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

Markus Deuling deuling@de.ibm.com
Thu Oct 11 10:35:00 GMT 2007


Hi,

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

ChangeLog: 


	* f-lang.c: Add new include objfiles.h
	(f_create_fundamental_type): Use objfile->gdbarch to get at the current
	architecture.
	(build_fortran_types): Replace current_gdbarch by gdbarch.
	* Makefile.in (f-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-f-lang
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20071011/9c526323/attachment.ksh>


More information about the Gdb-patches mailing list