This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]