Commit ae3b9f19 by Kazu Hirata Committed by Kazu Hirata

dwarf2out.c (dwarf2out_add_library_unit_info): Remove.

	* dwarf2out.c (dwarf2out_add_library_unit_info): Remove.
	* dwarf2out.h: Remove the prototype for
	dwarf2out_add_library_unit_info.

From-SVN: r111716
parent a82db052
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.
......
......@@ -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. */
......
......@@ -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 *);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment