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

 
 

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

Submitter:  None
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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.




Anonymous

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-f8d8.
    Corresponding source code