aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2001-06-06 17:47:28 +0000
committerJim Blandy <jimb@codesourcery.com>2001-06-06 17:47:28 +0000
commitceaa8edf7ecefadd717ec69f2b5821bca2f339c4 (patch)
tree4a41577dcb0101c0473c5612586484efcbd91be4 /gdb/gdbarch.h
parent6da13e9a21eb80d2544f19520abdc49a70478fa4 (diff)
downloadgdb-ceaa8edf7ecefadd717ec69f2b5821bca2f339c4.zip
gdb-ceaa8edf7ecefadd717ec69f2b5821bca2f339c4.tar.gz
gdb-ceaa8edf7ecefadd717ec69f2b5821bca2f339c4.tar.bz2
* gdbarch.sh: Changes to effect the following:
* gdbarch.c (initialize_non_multiarch): New function. * gdbarch.h (initialize_non_multiarch): New declaration. * arch-utils.c (initialize_current_architecture): For non-multiarch configurations, call initialize_non_multiarch.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 5b2bcac..2e9d35f 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -1834,6 +1834,10 @@ extern void set_gdbarch_from_file (bfd *);
extern void initialize_current_architecture (void);
+/* For non-multiarched targets, do any initialization of the default
+ gdbarch object necessary after the _initialize_MODULE functions
+ have run. */
+extern void initialize_non_multiarch ();
/* gdbarch trace variable */
extern int gdbarch_debug;