aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2014-02-18 14:57:03 +0800
committerYao Qi <yao@codesourcery.com>2014-02-19 10:48:21 +0800
commite095146be2c9f27e20743810038dc372a0387f75 (patch)
treea82dd838a9bb5e27c5ec9dba3e0c11c6c0d9182b /gdb/gdbarch.h
parent5db3e65d39c4018e88c3e7bba089fa9df11e7617 (diff)
downloadgdb-e095146be2c9f27e20743810038dc372a0387f75.zip
gdb-e095146be2c9f27e20743810038dc372a0387f75.tar.gz
gdb-e095146be2c9f27e20743810038dc372a0387f75.tar.bz2
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.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index bb355d7..c8fbc6e 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -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. */