Hi, this patch replaces current_gdbarch by gdbarch in gdbarch_alloc from gdbarch.sh. Due to the fact that current_gdbarch's focus in gdbarch_alloc is local only it doesn't interfere global current_gdbarch. So there is no reason to give it the same name as a global variable. Hence this patch renames it. Tested with testsuite on x86 and gdb_mbuild. Ok to commit ? ChangeLog: * gdbarch.sh (gdbarch_alloc): Replace current_gdbarch by gdbarch. * gdbarch.{c,h}: Regenerate. -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com