Fix PR16220

This patch removes startup_gdbarch because it is not used anymore.
After this patch,

 [PATCH] Multi-process + multi-arch: GDB
 https://sourceware.org/ml/gdb-patches/2012-11/msg00228.html

global variable target_gdbarch is removed and gdbarch becomes
per-inferior.  Then, we don't have to keep global variable
startup_gdbarch.

Rebuild GDB with all targets.  Is it OK?

gdb:

2014-02-18  Yao Qi  <yao@codesourcery.com>

	PR gdb/16220
	* gdbarch.sh: Remove startup_gdbarch.
	* gdbarch.c: Regenerated.
	* gdbarch.h: Likewise.
This commit is contained in:
Yao Qi
2014-02-18 14:57:03 +08:00
parent 5db3e65d39
commit e095146be2
4 changed files with 7 additions and 237 deletions

View File

@@ -74,11 +74,6 @@ struct elf_internal_linux_prpsinfo;
/* This is a convenience wrapper for 'current_inferior ()->gdbarch'. */
extern struct gdbarch *target_gdbarch (void);
/* The initial, default architecture. It uses host values (for want of a better
choice). */
extern struct gdbarch startup_gdbarch;
/* Callback type for the 'iterate_over_objfiles_in_search_order'
gdbarch method. */