aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2001-01-19 14:53:44 +0000
committerJason Merrill <jason@redhat.com>2001-01-19 14:53:44 +0000
commit8052a17a6a9e683d11e8c0c5b2bd27df19a25f00 (patch)
treefe8d377abd29205e453ef74d0324dd7e9f9f7228 /gdb/dbxread.c
parent32ff5c2e6d9f5705c49694b059fd2cc8c0eb303b (diff)
downloadgdb-8052a17a6a9e683d11e8c0c5b2bd27df19a25f00.zip
gdb-8052a17a6a9e683d11e8c0c5b2bd27df19a25f00.tar.gz
gdb-8052a17a6a9e683d11e8c0c5b2bd27df19a25f00.tar.bz2
* dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
(process_one_symbol): Likewise. * dwarfread.c (handle_producer): Likewise.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index 071be76..4e1a518 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -1738,6 +1738,9 @@ read_ofile_symtab (struct partial_symtab *pst)
/* Try to select a C++ demangling based on the compilation unit
producer. */
+#if 0
+ /* For now, stay with AUTO_DEMANGLING for g++ output, as we don't
+ know whether it will use the old style or v3 mangling. */
if (processing_gcc_compilation)
{
if (AUTO_DEMANGLING)
@@ -1745,6 +1748,7 @@ read_ofile_symtab (struct partial_symtab *pst)
set_demangling_style (GNU_DEMANGLING_STYLE_STRING);
}
}
+#endif
}
else
{
@@ -1798,10 +1802,14 @@ read_ofile_symtab (struct partial_symtab *pst)
else if (STREQ (namestring, GCC2_COMPILED_FLAG_SYMBOL))
processing_gcc_compilation = 2;
+#if 0
+ /* For now, stay with AUTO_DEMANGLING for g++ output, as we don't
+ know whether it will use the old style or v3 mangling. */
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
@@ -2367,7 +2375,9 @@ process_one_symbol (int type, int desc, CORE_ADDR valu, char *name,
if (STREQ (name, GCC2_COMPILED_FLAG_SYMBOL))
{
processing_gcc_compilation = 2;
-#if 1 /* Works, but is experimental. -fnf */
+#if 0 /* Works, but is experimental. -fnf */
+ /* For now, stay with AUTO_DEMANGLING for g++ output, as we don't
+ know whether it will use the old style or v3 mangling. */
if (AUTO_DEMANGLING)
{
set_demangling_style (GNU_DEMANGLING_STYLE_STRING);