aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-08-06 19:59:46 +0000
committerFred Fish <fnf@specifix.com>1992-08-06 19:59:46 +0000
commit3416d90bd63274fc352e6e5b559cdb25d34a8dbd (patch)
tree157b2ad4fc060429e1575a4bde51dd78419c588b /gdb/buildsym.h
parent7fd3560a6a0a0babc4137c0cd877dbe2e34169a9 (diff)
downloadgdb-3416d90bd63274fc352e6e5b559cdb25d34a8dbd.zip
gdb-3416d90bd63274fc352e6e5b559cdb25d34a8dbd.tar.gz
gdb-3416d90bd63274fc352e6e5b559cdb25d34a8dbd.tar.bz2
* 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.
Diffstat (limited to 'gdb/buildsym.h')
-rw-r--r--gdb/buildsym.h3
1 files changed, 3 insertions, 0 deletions
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 *