From 981e9728390b401404c36241e2ce6bd4cfcb723d Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Mon, 16 May 2022 14:33:26 +0100 Subject: 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 --- tools/root.make | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools/root.make') diff --git a/tools/root.make b/tools/root.make index 2a83a32292..03c4d48986 100644 --- a/tools/root.make +++ b/tools/root.make @@ -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 -- cgit v1.2.3