aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1995-03-25 09:23:10 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1995-03-25 09:23:10 +0000
commitb9e585030c6d1007849c42d0bc19d1e77041505d (patch)
treed19636a519ae76b78d82efbba19d81bdbeec6fe8 /gdb/buildsym.c
parent62f2c8080203a4c48cb408119a4afb4d9cb766c2 (diff)
downloadgdb-b9e585030c6d1007849c42d0bc19d1e77041505d.zip
gdb-b9e585030c6d1007849c42d0bc19d1e77041505d.tar.gz
gdb-b9e585030c6d1007849c42d0bc19d1e77041505d.tar.bz2
* buildsym.c (patch_subfile_name): Update last_source_file
with the real source file name. * dbxread.c (end_psymtab): Handle static functions in the SOFUN_ADDRESS_MAYBE_MISSING case by passing pst->filename to lookup_minimal_symbol. (process_one_symbol): Ignore extra outermost context from SunPRO cc and acc. * stabsread.c (define_symbol): Do not complain for SunPRO static variable encoding if STATIC_TRANSFORM_NAME is defined. * sparc-tdep.c, config/sparc/tm-sun4sol2.h (sunpro_static_transform_name): Renamed from solaris_static_transform_name. * config/sparc/tm-sun4os4.h (STATIC_TRANSFORM_NAME): Define to sunpro_static_transform_name for acc 3.0 compiled executables. * procfs.c, config/alpha/nm-osf2.h (PROCFS_DONT_TRACE_FAULTS): Renamed from PROCFS_DONT_TRACE_IFAULT, don't trace any faults if defined. * procfs.c (info_proc_siginfo): Cast sip->si_addr to `unsigned long' and use `lx' format for printing it.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c3
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++