This is the mail archive of the gcc-patches@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]

Re: begin_function debug hook.


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.


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