From 1c27e9e64ba2bec2868da849e86b227b56f03257 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 29 Jul 2008 12:09:51 -0400 Subject: Rename the mcheck stuff to a more generic 'debug' framework. --- sysconfig/debug | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sysconfig/debug (limited to 'sysconfig/debug') diff --git a/sysconfig/debug b/sysconfig/debug new file mode 100644 index 00000000..f0c05aae --- /dev/null +++ b/sysconfig/debug @@ -0,0 +1,13 @@ +# MALLOC_CHECK_: should the system (libc) malloc check for memory errors? +# Used values are: +# unset: do not check +# 0: silently ignore errors +# 1: print diagnostics on stderr when an error is detected +# 2: call abort when an error is detected +MALLOC_CHECK_=1 + +# MALLOC_PERTURB_: initialize cleared memory to the specified value +MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) + +# Perform extra sanity checking in the gslice allocator +G_SLICE=debug-blocks -- cgit v1.2.1