forked from len0rd/rockbox
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
This commit is contained in:
parent
cade488b08
commit
981e972839
9 changed files with 357 additions and 3 deletions
|
|
@ -258,7 +258,8 @@ static inline void cpu_boost_unlock(void)
|
|||
#endif
|
||||
|
||||
/* Define this if target has support for generating backtraces */
|
||||
#ifdef CPU_ARM
|
||||
#if defined(CPU_ARM) || \
|
||||
(defined(CPU_MIPS) && (CONFIG_PLATFORM & PLATFORM_NATIVE))
|
||||
#define HAVE_RB_BACKTRACE
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue