This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Your change to sdbout.c


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 */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]