forked from Imagelibrary/binutils-gdb
2001-09-04 Elena Zannoni <ezannoni@redhat.com>
From Daniel Jacobowitz <drow@mvista.com> * dbxread.c (free_header_files): Make global. (init_header_files): Likewise. * stabsread.h (free_header_files): Add prototype. (init_header_files): Likewise. * mdebugread.c (mdebug_build_psymtabs): Initialize properly before using the stabs debug reader.
This commit is contained in:
@@ -270,10 +270,6 @@ extern void _initialize_dbxread (void);
|
||||
|
||||
static void process_now (struct objfile *);
|
||||
|
||||
static void free_header_files (void);
|
||||
|
||||
static void init_header_files (void);
|
||||
|
||||
static void read_ofile_symtab (struct partial_symtab *);
|
||||
|
||||
static void dbx_psymtab_to_symtab (struct partial_symtab *);
|
||||
@@ -319,7 +315,7 @@ static struct partial_symtab *start_psymtab (struct objfile *, char *,
|
||||
|
||||
/* Free up old header file tables */
|
||||
|
||||
static void
|
||||
void
|
||||
free_header_files (void)
|
||||
{
|
||||
if (this_object_header_files)
|
||||
@@ -332,7 +328,7 @@ free_header_files (void)
|
||||
|
||||
/* Allocate new header file tables */
|
||||
|
||||
static void
|
||||
void
|
||||
init_header_files (void)
|
||||
{
|
||||
n_allocated_this_object_header_files = 10;
|
||||
|
||||
Reference in New Issue
Block a user