dwarf2out.c (dwarf2out_add_library_unit_info): Remove.
authorKazu Hirata <kazu@codesourcery.com>
Sat, 4 Mar 2006 20:07:18 +0000 (20:07 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sat, 4 Mar 2006 20:07:18 +0000 (20:07 +0000)
* dwarf2out.c (dwarf2out_add_library_unit_info): Remove.
* dwarf2out.h: Remove the prototype for
dwarf2out_add_library_unit_info.

From-SVN: r111716

gcc/ChangeLog
gcc/dwarf2out.c
gcc/dwarf2out.h

index 088e3f0bd78abac2ea8de140b51ef13f12c0fdc3..3474253ea95a4bd1813064e7cdba93101a547cfd 100644 (file)
@@ -1,3 +1,9 @@
+2006-03-04  Kazu Hirata  <kazu@codesourcery.com>
+
+       * dwarf2out.c (dwarf2out_add_library_unit_info): Remove.
+       * dwarf2out.h: Remove the prototype for
+       dwarf2out_add_library_unit_info.
+
 2006-03-04  Kazu Hirata  <kazu@codesourcery.com>
 
        * tree.c (add_var_to_bind_expr): Remove.
index 568a3804f502f3afbf4965c18ace59bc79353971..692dad7ecb5d14114cb67c03db3be3f1c80a13e2 100644 (file)
@@ -13088,28 +13088,6 @@ gen_decl_die (tree decl, dw_die_ref context_die)
     }
 }
 \f
-/* Add Ada "use" clause information for SGI Workshop debugger.  */
-
-void
-dwarf2out_add_library_unit_info (const char *filename, const char *context_list)
-{
-  unsigned int file_index;
-
-  if (filename != NULL)
-    {
-      dw_die_ref unit_die = new_die (DW_TAG_module, comp_unit_die, NULL);
-      tree context_list_decl
-       = build_decl (LABEL_DECL, get_identifier (context_list),
-                     void_type_node);
-
-      TREE_PUBLIC (context_list_decl) = TRUE;
-      add_name_attribute (unit_die, context_list);
-      file_index = lookup_filename (filename);
-      add_AT_unsigned (unit_die, DW_AT_decl_file, file_index);
-      add_pubname (context_list_decl, unit_die);
-    }
-}
-
 /* Output debug information for global decl DECL.  Called from toplev.c after
    compilation proper has finished.  */
 
index f0314e3caaec1e7ad28360fcc473ff230a72f865..2ba74a928b7496ec05ac8d4ca15c5aeeb8b87ae7 100644 (file)
@@ -26,4 +26,3 @@ extern void debug_dwarf (void);
 struct die_struct;
 extern void debug_dwarf_die (struct die_struct *);
 extern void dwarf2out_set_demangle_name_func (const char *(*) (const char *));
-extern void dwarf2out_add_library_unit_info (const char *, const char *);