aboutsummaryrefslogtreecommitdiff
path: root/hdata/test
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2017-03-30 11:48:51 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-03-30 19:37:48 +1100
commitb4c88af7e90284a7bb0d3563d33324c73c144af7 (patch)
treef538ec6cb2c0c8cc61d89bf4aed8418cfb8ea269 /hdata/test
parent15511cfb042075b5a0e0962f830c4143626546d2 (diff)
downloadskiboot-b4c88af7e90284a7bb0d3563d33324c73c144af7.zip
skiboot-b4c88af7e90284a7bb0d3563d33324c73c144af7.tar.gz
skiboot-b4c88af7e90284a7bb0d3563d33324c73c144af7.tar.bz2
hdata: print backtraces on HDAT errors
Currently these aren't sufficently obnoxious, so make them more so. HDAT parse errors usually mean we won't be able to generate enough of a device-tree to boot so we want to make this much more obvious. Suggested-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/test')
-rw-r--r--hdata/test/stubs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hdata/test/stubs.c b/hdata/test/stubs.c
index f513aac..bde19e1 100644
--- a/hdata/test/stubs.c
+++ b/hdata/test/stubs.c
@@ -101,3 +101,4 @@ STUB(fsp_wait_lid_loaded);
STUB(fsp_adjust_lid_side);
STUB(mem_reserve_hw);
STUB(early_uart_init);
+STUB(backtrace);