aboutsummaryrefslogtreecommitdiff
path: root/gdb/mdebugread.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2001-09-05 02:54:15 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2001-09-05 02:54:15 +0000
commitd3d55eeb77a7ca75c6ae21c3a3b964c59b14574b (patch)
tree61e86b5244b8640ac77e60dbd6203cc7f59f12a9 /gdb/mdebugread.c
parent847b8b31766267feb1ddaf15b3573a6baf8024b2 (diff)
downloadgdb-d3d55eeb77a7ca75c6ae21c3a3b964c59b14574b.zip
gdb-d3d55eeb77a7ca75c6ae21c3a3b964c59b14574b.tar.gz
gdb-d3d55eeb77a7ca75c6ae21c3a3b964c59b14574b.tar.bz2
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.
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r--gdb/mdebugread.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index 6d1078a..ed7e490 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -491,6 +491,11 @@ mdebug_build_psymtabs (struct objfile *objfile,
debug_swap = swap;
debug_info = info;
+ stabsread_new_init ();
+ buildsym_new_init ();
+ free_header_files ();
+ init_header_files ();
+
/* Make sure all the FDR information is swapped in. */
if (info->fdr == (FDR *) NULL)
{