aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index 7c714c2..7668682 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -347,8 +347,9 @@ static void
coff_start_symtab ()
{
start_symtab (
- /* We fill in the filename later. But start_symtab
- expects something we can later free() (in end_symtab).
+ /* We fill in the filename later. start_symtab
+ puts this pointer into last_source file and in
+ coff_end_symtab we assume we can free() it.
FIXME: leaks memory. */
savestring ("", 0),
/* We never know the directory name for COFF. */