diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 22 | ||||
-rw-r--r-- | gcc/dwarf2out.h | 1 |
3 files changed, 6 insertions, 23 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 088e3f0bd78..3474253ea95 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 568a3804f50..692dad7ecb5 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -13088,28 +13088,6 @@ gen_decl_die (tree decl, dw_die_ref context_die) } } -/* 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. */ diff --git a/gcc/dwarf2out.h b/gcc/dwarf2out.h index f0314e3caae..2ba74a928b7 100644 --- a/gcc/dwarf2out.h +++ b/gcc/dwarf2out.h @@ -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 *); |