This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] [06/17] Get rid of current_gdbarch in ada-lang.c
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Markus Deuling <deuling at de dot ibm dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>, hilfinger at gnat dot com, Ulrich Weigand <uweigand at de dot ibm dot com>
- Date: Thu, 11 Oct 2007 09:53:22 -0700
- Subject: Re: [rfc] [06/17] Get rid of current_gdbarch in ada-lang.c
- References: <470DE4A1.4090506@de.ibm.com>
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