aboutsummaryrefslogtreecommitdiff
path: root/hdata/test
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-07-24 09:27:02 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-08-18 16:04:26 +1000
commit98e09fb48a22949fe8e073f866425643e9501767 (patch)
treee5ac49682c58a2d9bb1b2af5a3677a23186337be /hdata/test
parent3c549d25eda9a4844c95207e8aa15e0928e14f5f (diff)
downloadskiboot-98e09fb48a22949fe8e073f866425643e9501767.zip
skiboot-98e09fb48a22949fe8e073f866425643e9501767.tar.gz
skiboot-98e09fb48a22949fe8e073f866425643e9501767.tar.bz2
Build host programs (and checks) with debug enabled
This enables memory poisoning in allocations and list checking among other things. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/test')
-rw-r--r--hdata/test/stubs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hdata/test/stubs.c b/hdata/test/stubs.c
index e72b683..9687b31 100644
--- a/hdata/test/stubs.c
+++ b/hdata/test/stubs.c
@@ -17,6 +17,8 @@
#include <stdio.h>
#include <stdarg.h>
+#include "../../ccan/list/list.c"
+
void _prlog(int log_level __attribute__((unused)), const char* fmt, ...) __attribute__((format (printf, 2, 3)));
#ifndef pr_fmt