This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Another 3 debug hooks
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: Another 3 debug hooks
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Thu, 26 Jul 2001 11:28:52 -0400
- cc: gcc-patches at gcc dot gnu dot org, Mark Mitchell <mark at codesourcery dot com>
I don't know why thoes declarations and definitions are in the
xcoffout.[ch] files at all. Those were present from the earliest port to
rs6000. I did have luck moving the declarations and definitions to
rs6000.[ch], if you would prefer that over including xcoffout.[ch].
With the move of dbxout_global_decl outside the ifdef, I still see
the following warnings:
dbxout.c:596: warning: `dbxout_source_line' defined but not used
dbxout.c:384: warning: `dbxout_function_end' defined but not used
dbxout.c:2835: warning: `dbxout_begin_function' defined but not used
If you had done the initial testing finding the uses of those
variables declared in xcoffout.h and contacted me about moving them to
rs6000.h, I would have been happy to discuss the design change.
David