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

Joel Brobecker brobecker@adacore.com
Thu Oct 11 17:33:00 GMT 2007


Hi Markus,

> 	* ada-lang.c (ada_create_fundamental_type): Use objfile->gdbarch to 
> 	get
> 	at the current architecture.

These changes are pretty mechanical, and look OK to me, but I see
that the decision to use per-objfile gdbarch is still being discussed.
So we'll probably want to hold these changes for a little longer.

> 	(ada_language_arch_info): Replace current_gdbarch by gdbarch.

This part can be checked in now, however.

-- 
Joel



More information about the Gdb-patches mailing list