* gdbtypes.c (build_gdbtypes): New function.

(_initialize_gdbtypes): Call.
This commit is contained in:
Andrew Cagney 1998-12-16 14:57:08 +00:00
parent fd85b79fcf
commit e81bad50a8
2 changed files with 17 additions and 4 deletions

View File

@ -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.

View File

@ -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 ();
}