* dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
authorJason Merrill <jason@redhat.com>
Fri, 19 Jan 2001 14:53:44 +0000 (14:53 +0000)
committerJason Merrill <jason@redhat.com>
Fri, 19 Jan 2001 14:53:44 +0000 (14:53 +0000)
        (process_one_symbol): Likewise.
        * dwarfread.c (handle_producer): Likewise.

gdb/ChangeLog
gdb/dbxread.c
gdb/dwarfread.c

index 969ac08498873a39065b9270cc9f87fcffce2103..ffaf8d379492a00afcbb7df911aba030b9e71bab 100644 (file)
@@ -1,3 +1,9 @@
+2001-01-19  Jason Merrill  <jason@redhat.com>
+
+       * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
+       (process_one_symbol): Likewise.
+       * dwarfread.c (handle_producer): Likewise.
+
 Thu Jan 18 12:08:57 2001  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * configure.in (build_warnings): Disable -Wuninitialized until GDB
index 071be760ec4fced63cd8de012bd9c0bfff9e0776..4e1a51895d551c8556f36cdd0d06360f160bea94 100644 (file)
@@ -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);
index 70557173be9d87c042035d508b800eccd99af497..8d15175cde3d6cf6531284d969555a83ef7c3d3f 100644 (file)
@@ -1838,7 +1838,11 @@ handle_producer (char *producer)
     {
       if (STREQN (producer, GPLUS_PRODUCER, strlen (GPLUS_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.  */
          set_demangling_style (GNU_DEMANGLING_STYLE_STRING);
+#endif
        }
       else if (STREQN (producer, LCC_PRODUCER, strlen (LCC_PRODUCER)))
        {
This page took 0.033684 seconds and 4 git commands to generate.