bugmake - Bugs: bug #53935, Add variable-assignment debug...


bug #53935: Add variable-assignment debug option: --debug=A

Submitted by:  None
Submitted on:  Thu 17 May 2018 09:12:33 PM UTC  
Severity:  3 - Normal Item Group:  Enhancement
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  4.2.1 Operating System:  None
Fixed Release:  None Triage Status:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 18 May 2018 03:46:18 PM UTC, comment #1: 

BTW, I forgot to login before posting this -- I originated the bug and the patch, not "anonymous/none". :)

Brian Grayson <bgrayson>
Thu 17 May 2018 09:12:33 PM UTC, original submission:  

Over the years, I keep re-patching GNU make with this useful feature, as some of the makefiles we use at work are quite twisty, so it is hard to see where a variable is defined/redefined/over-defined/define-ignored etc. It seems this would be handy for the larger community, too.

The simple patch here adds another flag, A (for Assignments), and results in output from the print_variable() function.

This will be enabled by -d or --debug=a with this patch, when one uses -d to turn on all possible debugging.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #44176:  debug_assignments.patch added by None (2KiB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bgrayson (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-17 None Attached File- => Added debug_assignments.patch, #44176

    Back to the top

    Powered by Savane 3.5