aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
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.c
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.c')
-rw-r--r--gdb/symfile.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 1066b52..1417d96 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -87,8 +87,6 @@ static int simple_read_overlay_region_table (void);
static void simple_free_overlay_region_table (void);
#endif
-static void set_initial_language (void);
-
static void load_command (char *, int);
static void symbol_file_add_main_1 (char *args, int from_tty, int flags);
@@ -1576,7 +1574,7 @@ symbol_file_command (char *args, int from_tty)
stabs we find, but we can't do that until later when we read in
full symbols. */
-static void
+void
set_initial_language (void)
{
struct partial_symtab *pst;