This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [15/15] Remove current_gdbarch
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: uweigand at de dot ibm dot com (Ulrich Weigand)
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 2 Jul 2009 19:30:10 +0200 (CEST)
- Subject: Re: [15/15] Remove current_gdbarch
> * gdbarch.sh (current_gdbarch): Remove global variable.
> (find_arch_by_info): Remove, inline into ...
> (gdbarch_find_by_info): ... this. Remove current_gdbarch swapping.
> (deprecated_current_gdbarch_select_hack): Rename to ...
> (deprecated_target_gdbarch_select_hack): ... this. Do not set
> or access current_gdbarch.
> * gdbarch.c, gdbarch.h: Regenerate.
>
> * arch-utils.c (gdbarch_update_p): Update call.
> (set_gdbarch_from_file): Likewise.
And checked in as well!
Finally, no more current_gdbarch ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com