This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Your change to sdbout.c
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 16 Feb 2004 00:28:40 -0800
- Subject: Re: Your change to sdbout.c
- References: <10402151401.AA20246@vlsi1.ultra.nyu.edu>
kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:
> You add an initializer entry for sdbout_type_decl, but there's no such
> function. What did you mean?
> Did you test this change?
Oops, that crept in from a previous iteration of the patch, and
apparently I was mistaken in thinking that SDB debug format was an
optional mode of the target I tested. What target did you use for
your testing?
It was meant to be just sdbout_symbol; the appended patch has been
verified to generate sdbout.o with no errors in a
--target=alpha-dec-osf4 configuration.
Sorry for not responding sooner, my ISP was having an outage all
weekend.
zw
* sdbout.c (sdb_debug_hooks): Use correct function for
type_decl hook.
===================================================================
Index: sdbout.c
--- sdbout.c 12 Feb 2004 21:42:25 -0000 1.86
+++ sdbout.c 16 Feb 2004 08:27:58 -0000
@@ -336,7 +336,7 @@ const struct gcc_debug_hooks sdb_debug_h
sdbout_end_function, /* end_function */
debug_nothing_tree, /* function_decl */
sdbout_global_decl, /* global_decl */
- sdbout_type_decl, /* type_decl */
+ sdbout_symbol, /* type_decl */
debug_nothing_tree_tree, /* imported_module_or_decl */
debug_nothing_tree, /* deferred_inline_function */
debug_nothing_tree, /* outlining_inline_function */