aboutsummaryrefslogtreecommitdiff
path: root/gcc/debug.h
diff options
context:
space:
mode:
authorCatherine Moore <clm@codesourcery.com>2009-04-15 17:40:25 -0400
committerCatherine Moore <clm@gcc.gnu.org>2009-04-15 17:40:25 -0400
commita417cdd9635da7f784a48ec8cb49cca51833d970 (patch)
tree0402e3e8283f7c4c4e6a30872b20d24962d60c70 /gcc/debug.h
parent4268e5a55062bfa28f1527cda5c7c2f88317dbfb (diff)
downloadgcc-a417cdd9635da7f784a48ec8cb49cca51833d970.zip
gcc-a417cdd9635da7f784a48ec8cb49cca51833d970.tar.gz
gcc-a417cdd9635da7f784a48ec8cb49cca51833d970.tar.bz2
debug.h (set_name): Declare.
2009-04-15 Catherine Moore <clm@codesourcery.com> * debug.h (set_name): Declare. * dwarf2out.c (dwarf2out_set_name): Declare. (dwarf2_debug_hooks): Add set_name. (find_AT_string): New. (add_AT_string): Call find_AT_string. (dwarf2out_set_name): New. * cp/decl.c (grokdeclarator): Call set_name. * vmsdbgout.c (vmsdbg_debug_hooks): Add set_name_debug_nothing. * debug.c (do_nothing_debug_hooks): Likewise. * dbxout.c (dbx_debug_hooks): Likewise. * sdbout.c (sdb_debug_hooks): Likewise. From-SVN: r146137
Diffstat (limited to 'gcc/debug.h')
-rw-r--r--gcc/debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/debug.h b/gcc/debug.h
index e1ee12e..1169c51 100644
--- a/gcc/debug.h
+++ b/gcc/debug.h
@@ -126,6 +126,8 @@ struct gcc_debug_hooks
text sections. */
void (* switch_text_section) (void);
+ void (* set_name) (tree, tree);
+
/* This is 1 if the debug writer wants to see start and end commands for the
main source files, and 0 otherwise. */
int start_end_main_source_file;
@@ -140,6 +142,7 @@ extern void debug_nothing_int_charstar (unsigned int, const char *);
extern void debug_nothing_int (unsigned int);
extern void debug_nothing_int_int (unsigned int, unsigned int);
extern void debug_nothing_tree (tree);
+extern void debug_nothing_tree_tree (tree, tree);
extern void debug_nothing_tree_int (tree, int);
extern void debug_nothing_tree_tree_tree_bool (tree, tree, tree, bool);
extern bool debug_true_const_tree (const_tree);