(sdbout_init) [RMS_QUICK_HACK_1]: Call sdbout_symbol for __vtbl_ptr_type.
authorRichard Stallman <rms@gnu.org>
Mon, 8 Nov 1993 22:57:28 +0000 (22:57 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 8 Nov 1993 22:57:28 +0000 (22:57 +0000)
From-SVN: r6040

gcc/sdbout.c

index 3c0b519def7bca5acbe02bdcaf66cc7618e1c1b2..25b800916b4042164f5920ecaace7f9c89c7a4b0 100644 (file)
@@ -285,6 +285,14 @@ sdbout_init (asm_file, input_file_name, syms)
      char *input_file_name;
      tree syms;
 {
+#ifdef RMS_QUICK_HACK_1
+  tree t;
+  for (t = syms; t; t = TREE_CHAIN (t))
+    if (DECL_NAME (t) && IDENTIFIER_POINTER (DECL_NAME (t)) != 0
+       && !strcmp (IDENTIFIER_POINTER (DECL_NAME (t)), "__vtbl_ptr_type"))
+      sdbout_symbol (t, 0);
+#endif  
+
 #if 0 /* Nothing need be output for the predefined types.  */
   /* Get all permanent types that have typedef names,
      and output them all, except for those already output.  */