* gdbarch.sh (current_gdbarch): Remove global variable.
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 2 Jul 2009 17:29:17 +0000 (17:29 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 2 Jul 2009 17:29:17 +0000 (17:29 +0000)
commit59837fe086d095b2ce147ac6e3539f6843007f4f
treebda93985ec4a97fa9e42b3aee3d0db43e920d061
parente17a4113357102b55cfa5b80557d590a46a43300
* 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.
gdb/ChangeLog
gdb/arch-utils.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh