aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
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/arch-utils.c
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/arch-utils.c')
-rw-r--r--gdb/arch-utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 733b2b9..4697001 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -705,6 +705,8 @@ initialize_current_architecture (void)
"initialize_current_architecture: Selection of initial architecture failed");
}
}
+ else
+ initialize_non_multiarch ();
/* Create the ``set architecture'' command appending ``auto'' to the
list of architectures. */