aboutsummaryrefslogtreecommitdiff
path: root/gdb/partial-stab.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1993-04-15 09:41:59 +0000
committerJohn Gilmore <gnu@cygnus>1993-04-15 09:41:59 +0000
commit65ce5df44f4afe44894bca3064a7aa685b7d6039 (patch)
tree025e54c0d6c6770cbaaadf3ed029bd079eedb183 /gdb/partial-stab.h
parent4d7f562d49fb955a55771b2ca09e8952ab5f8ada (diff)
downloadgdb-65ce5df44f4afe44894bca3064a7aa685b7d6039.zip
gdb-65ce5df44f4afe44894bca3064a7aa685b7d6039.tar.gz
gdb-65ce5df44f4afe44894bca3064a7aa685b7d6039.tar.bz2
* dbxread.c (unknown_symchar_complaint): Add new complaint.
* stabsread.c: Declare it. * partial-stab.h: Use it. * utils.c (malloc_botch): Don't forward-declare if NO_MMALLOC.
Diffstat (limited to 'gdb/partial-stab.h')
-rw-r--r--gdb/partial-stab.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h
index d69f7f6..e083143 100644
--- a/gdb/partial-stab.h
+++ b/gdb/partial-stab.h
@@ -1,6 +1,6 @@
/* Shared code to pre-read a stab (dbx-style), when building a psymtab.
- Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992 Free Software Foundation,
- Inc.
+ Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993
+ Free Software Foundation, Inc.
This file is part of GDB.
@@ -518,9 +518,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Global functions were ignored here, but now they
are put into the global psymtab like one would expect.
- They're also in the misc fn vector...
- FIXME, why did it used to ignore these? That broke
- "i fun" on these functions. */
+ They're also in the minimal symbol table. */
case 'F':
#ifdef DBXREAD_ONLY
/* Kludges for ELF/STABS with Sun ACC */
@@ -563,6 +561,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
Someone says sun cc puts out symbols like
/foo/baz/maclib::/usr/local/bin/maclib,
which would get here with a symbol type of ':'. */
+ complain (&unknown_symchar_complaint, p[1]);
continue;
}