[rfc] [06/17] Get rid of current_gdbarch in ada-lang.c
Markus Deuling
deuling@de.ibm.com
Mon Oct 22 06:04:00 GMT 2007
Hi Joel,
thanks for your effort. I'll wait for the results of the per-objfile discussion and then come up with a complete patch.
Joel Brobecker schrieb:
> 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.
>
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
More information about the Gdb-patches
mailing list