This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: begin_function debug hook.
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: begin_function debug hook.
- From: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Date: Mon, 16 Jul 2001 00:57:24 +1000
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20010715151544.A16605@daikokuya.demon.co.uk>
On 15-Jul-2001, Neil Booth <neil@daikokuya.demon.co.uk> wrote:
> +++ gcc/debug.h 2001/07/15 13:59:48
> @@ -60,6 +60,13 @@ struct gcc_debug_hooks
> /* Record end of epilogue code. */
> void (* end_epilogue) PARAMS ((void));
>
> + /* Record start of function. LINE is the first line in the
> + function. BEGIN_FUNCTION_BEFORE_PROLOGUE is a boolean indicating
> + whether begin_function () should be called before or after the
> + assembler of the function prologue is emitted. */
> + void (* begin_function) PARAMS ((unsigned int line));
> + int begin_function_before_prologue;
As a matter of style, that `int' should be `bool'.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.