OSDN Git Service

* dwarf2out.c (dwarf2out_add_library_unit_info): Remove.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Mar 2006 20:07:18 +0000 (20:07 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Mar 2006 20:07:18 +0000 (20:07 +0000)
* dwarf2out.h: Remove the prototype for
dwarf2out_add_library_unit_info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111716 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 088e3f0..3474253 100644 (file)
@@ -1,5 +1,11 @@
 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.
        * tree.h: Remove the prototype for add_var_to_bind_expr.
 
index 568a380..692dad7 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 f0314e3..2ba74a9 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 *);