bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Extend --debug with option to trace parsing.


From: Dave Korn
Subject: [PATCH] Extend --debug with option to trace parsing.
Date: Sun, 2 Sep 2007 16:56:02 +0100

    Hi!

  It can be really tricky debugging a complex makefile that's full of function
calls and evals, so here's a patch that adds lots of debugging output from the
parser.  You get to see exactly what the parser's seeing and what it thinks
it's doing about it.

2007-09-02  Dave Korn  <address@hidden>

        * doc/make.texi:  Documented new 'p' option letter to '--debug='.
        * debug.h (DB_PARSER):  New debug flag bit.
        * main.c (decode_debug_flags):  Let 'p' set DB_PARSER in db_level.
        * read.c (eval):  Added a whole lot of debug under DB_PARSER.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

Attachment: make-debug-parser-patch.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]