aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1993-05-30 22:41:52 +0000
committerFred Fish <fnf@specifix.com>1993-05-30 22:41:52 +0000
commit2707b48a6131f69f88c7e416700e7e2a16ddeba9 (patch)
tree7abe771125b28a2e74cbf158b50ecc5c97e66a55 /gdb/dbxread.c
parentef7e172e5c62d3e4e68cdebf884a968be75c7300 (diff)
downloadgdb-2707b48a6131f69f88c7e416700e7e2a16ddeba9.zip
gdb-2707b48a6131f69f88c7e416700e7e2a16ddeba9.tar.gz
gdb-2707b48a6131f69f88c7e416700e7e2a16ddeba9.tar.bz2
* dbxread.c (read_ofile_symtab): Remove "#if 1" around code to
set demangling style automatically. * defs.h (CPLUS_MARKER): Clarify comment that this is only for GNU C++, not C++ in general. * symtab.h (general_symbol_info): Simplify by eliminating one structure level for the language dependent info.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index 302d9cb..025bc36 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -1154,7 +1154,7 @@ end_psymtab (pst, include_list, num_includes, capping_symbol_offset,
subpst->readin = 0;
subpst->symtab = 0;
- subpst->read_symtab = dbx_psymtab_to_symtab;
+ subpst->read_symtab = pst->read_symtab;
}
sort_pst_symbols (pst);
@@ -1358,12 +1358,10 @@ read_ofile_symtab (objfile, sym_offset, sym_size, text_offset, text_size,
if (processing_gcc_compilation)
{
-#if 1 /* Works, but is experimental. -fnf */
if (AUTO_DEMANGLING)
{
set_demangling_style (GNU_DEMANGLING_STYLE_STRING);
}
-#endif
}
}
else
@@ -1416,12 +1414,10 @@ read_ofile_symtab (objfile, sym_offset, sym_size, text_offset, text_size,
else if (STREQ (namestring, GCC2_COMPILED_FLAG_SYMBOL))
processing_gcc_compilation = 2;
-#if 1 /* Works, but is experimental. -fnf */
if (AUTO_DEMANGLING)
{
set_demangling_style (GNU_DEMANGLING_STYLE_STRING);
}
-#endif
}
else if (type & N_EXT || type == (unsigned char)N_TEXT
|| type == (unsigned char)N_NBTEXT