From 3416d90bd63274fc352e6e5b559cdb25d34a8dbd Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Thu, 6 Aug 1992 19:59:46 +0000 Subject: * buildsym.c (start_subfile): Compact dirname initialization. * buildsym.c (patch_subfile_names): New function. * buildsym.c (end_symtab): Make copy of dirname on symbol obstack. * buildsym.c (end_symtab): Free all malloc'd subfile fields. * buildsym.h (patch_subfile_names): Add prototype. * dbxread.c (process_one_symbol): Call patch_subfile_names. --- gdb/buildsym.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/buildsym.h') diff --git a/gdb/buildsym.h b/gdb/buildsym.h index f883115..1f82c85 100644 --- a/gdb/buildsym.h +++ b/gdb/buildsym.h @@ -217,6 +217,9 @@ extern void start_subfile PARAMS ((char *, char *)); extern void +patch_subfile_names PARAMS ((struct subfile *subfile, char *name)); + +extern void push_subfile PARAMS ((void)); extern char * -- cgit v1.1