aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-es.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-es.c')
-rw-r--r--gdb/remote-es.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote-es.c b/gdb/remote-es.c
index 2d879c1..97b1263 100644
--- a/gdb/remote-es.c
+++ b/gdb/remote-es.c
@@ -106,6 +106,7 @@
#include "target.h"
#include "gdb_wait.h"
#include "command.h"
+#include "symfile.h"
#include "remote-utils.h"
#include "gdbcore.h"
#include "serial.h"
@@ -1318,7 +1319,7 @@ es1800_load (char *filename, int from_tty)
system (buf);
}
- symbol_file_command (filename, from_tty); /* reading symbol table */
+ symbol_file_add_main (filename, from_tty); /* reading symbol table */
immediate_quit--;
}