summaryrefslogtreecommitdiff
path: root/firmware/export/backtrace.h
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-05-16 14:33:26 +0100
committerAidan MacDonald <amachronic@protonmail.com>2022-05-22 07:16:11 -0400
commit981e9728390b401404c36241e2ce6bd4cfcb723d (patch)
treeb68a7eaf7bf53dcd0dea8b29324c1e303bbb48f7 /firmware/export/backtrace.h
parentcade488b089667f1252220d6b613c6795f960852 (diff)
downloadrockbox-981e9728390b401404c36241e2ce6bd4cfcb723d.tar.gz
rockbox-981e9728390b401404c36241e2ce6bd4cfcb723d.zip
mips: add native backtrace implementation
Should make debugging crashes on native MIPS targets far easier. This is by no means a 100% complete or robust implementation but it seems to handle the vast majority of functions. Change-Id: Id5f430270e02b5092b79026b6876675c784aa649
Diffstat (limited to 'firmware/export/backtrace.h')
-rw-r--r--firmware/export/backtrace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/backtrace.h b/firmware/export/backtrace.h
index 283e293b2a..fb007ab004 100644
--- a/firmware/export/backtrace.h
+++ b/firmware/export/backtrace.h
@@ -25,6 +25,9 @@
25#ifdef BACKTRACE_UNWARMINDER 25#ifdef BACKTRACE_UNWARMINDER
26#include "backtrace-unwarminder.h" 26#include "backtrace-unwarminder.h"
27#endif 27#endif
28#ifdef BACKTRACE_MIPSUNWINDER
29#include "backtrace-mipsunwinder.h"
30#endif
28 31
29/* Print a backtrace using lcd_* functions, starting at the given line and updating 32/* Print a backtrace using lcd_* functions, starting at the given line and updating
30 * the line number. On targets that support it (typically native targets), the 33 * the line number. On targets that support it (typically native targets), the