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:
Aidan MacDonald 2022-05-16 14:33:26 +01:00
parent cade488b08
commit 981e972839
9 changed files with 357 additions and 3 deletions

View file

@ -75,6 +75,12 @@ ifeq (,$(findstring checkwps,$(APP_TYPE)))
include $(ROOTDIR)/lib/unwarminder/unwarminder.make
endif
endif
ifeq (arch_mips,$(ARCH))
# mips unwinder is only usable on native ports
ifeq (,$(APP_TYPE))
include $(ROOTDIR)/lib/mipsunwinder/mipsunwinder.make
endif
endif
ifeq (,$(findstring bootloader,$(APPSDIR)))
include $(ROOTDIR)/lib/skin_parser/skin_parser.make
include $(ROOTDIR)/lib/tlsf/libtlsf.make