libc/debug: Rename CONFIG_EABI_UNWINDER to CONFIG_UNWINDER

since the unwinder not only work with arm but also other arch(e.g. riscv)

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I56cc54f2c99560c858362ab2dfba524097385716
This commit is contained in:
Xiang Xiao 2021-06-30 11:44:41 +08:00 committed by David Sidrane
parent 181ad49ffd
commit 4ba1bafe55
3 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,7 @@ extern "C"
#define EXTERN extern
#endif
#if defined(CONFIG_EABI_UNWINDER)
#if defined(CONFIG_UNWINDER)
/* Store up to SIZE return address of the current program state in
* ARRAY and return the exact number of values stored.

View file

@ -9,8 +9,8 @@
menu "Library Debugging"
config EABI_UNWINDER
bool "EABI Stack Unwinder"
config UNWINDER
bool "Stack Unwinder"
default "n"
---help---
This option enables stack unwinding support in NuttX

View file

@ -18,7 +18,7 @@
#
############################################################################
ifeq ($(CONFIG_EABI_UNWINDER),y)
ifeq ($(CONFIG_UNWINDER),y)
CSRCS += lib_backtrace.c lib_dumpstack.c