aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdbtypes.c16
2 files changed, 17 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3aafee0..0f55ca4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Thu Dec 17 01:34:36 1998 Andrew Cagney <cagney@chook>
+
+ * gdbtypes.c (build_gdbtypes): New function.
+ (_initialize_gdbtypes): Call.
+
Wed Dec 16 11:47:00 1998 Andrew Cagney <cagney@chook>
* gdbarch.c (show_architecture): Use TARGET_ARCHITECTURE.
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index 6601d9d..2bc4003 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -78,8 +78,6 @@ static void print_arg_types PARAMS ((struct type **, int));
static void dump_fn_fieldlists PARAMS ((struct type *, int));
static void print_cplus_stuff PARAMS ((struct type *, int));
-void _initialize_gdbtypes PARAMS ((void));
-
/* Alloc a new type structure and fill it with some defaults. If
OBJFILE is non-NULL, then allocate the space for the type structure
in that objfile's type_obstack. */
@@ -1876,8 +1874,10 @@ recursive_dump_type (type, spaces)
#endif /* MAINTENANCE_CMDS */
-void
-_initialize_gdbtypes ()
+
+static void build_gdbtypes PARAMS ((void));
+static void
+build_gdbtypes ()
{
builtin_type_void =
init_type (TYPE_CODE_VOID, 1,
@@ -1996,3 +1996,11 @@ _initialize_gdbtypes ()
"uint128_t", (struct objfile *) NULL);
/* end-sanitize-r5900 */
}
+
+
+extern void _initialize_gdbtypes PARAMS ((void));
+void
+_initialize_gdbtypes ()
+{
+ build_gdbtypes ();
+}