diff options
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 45ee77a..d62d2ee 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -1,5 +1,5 @@ /* Support routines for building symbol tables in GDB's internal format. - Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992 + Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1995 Free Software Foundation, Inc. This file is part of GDB. @@ -526,6 +526,7 @@ patch_subfile_names (subfile, name) { subfile->dirname = subfile->name; subfile->name = savestring (name, strlen (name)); + last_source_file = name; /* Default the source language to whatever can be deduced from the filename. If nothing can be deduced (such as for a C/C++ |