forked from Imagelibrary/binutils-gdb
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:
@@ -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. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user