aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-01-03 04:23:46 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-01-03 04:23:46 +0000
commit8b60591b5d040469131bb6a64301df2207039ee5 (patch)
tree64213e8efc92a7050f030436e25630f4dc6f53db /gdb/symfile.h
parenta97fced3146726dc86196b91587610392952f234 (diff)
downloadgdb-8b60591b5d040469131bb6a64301df2207039ee5.zip
gdb-8b60591b5d040469131bb6a64301df2207039ee5.tar.gz
gdb-8b60591b5d040469131bb6a64301df2207039ee5.tar.bz2
* symfile.c (set_initial_language): Make non-static.
* symfile.h (set_initial_language): Add declaration. * language.c: #include "symfile.h". (set_language): Call set_initial_language if the frame language could not be determined.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 229576b..5ff53f8 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -292,6 +292,8 @@ extern int auto_solib_limit;
/* From symfile.c */
+extern void set_initial_language (void);
+
extern struct partial_symtab *allocate_psymtab (char *, struct objfile *);
extern void discard_psymtab (struct partial_symtab *);