Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: Add stuff to ease debugging #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 8, 2015

  1. Makefile: Add stuff to ease debugging

    Add debug variable (with a settable default):
    make DEBUG=1   # for compiling with debug flags
    make DEBUG=0   # for compiling with "normal" flags
    
    The debug flags include ASAN definitions for finding runtime memory
    related problems.
    
    Add targets for invoking gdb and the test suite:
    make gdb       # enter GDB with appropriate ASAN environment variables
    make test      # run the test suite
    ampli committed Jul 8, 2015
    Configuration menu
    Copy the full SHA
    0da5070 View commit details
    Browse the repository at this point in the history