diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-01-03 04:23:46 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-01-03 04:23:46 +0000 |
commit | 8b60591b5d040469131bb6a64301df2207039ee5 (patch) | |
tree | 64213e8efc92a7050f030436e25630f4dc6f53db /gdb/symfile.h | |
parent | a97fced3146726dc86196b91587610392952f234 (diff) | |
download | gdb-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.h | 2 |
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 *); |