This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 19e34b7f6e x64: modify addr limit to support 64 bits addr backtrace
19e34b7f6e is described below
commit 19e34b7f6e533c58f16f1253f92334cfa014f625
Author: andi6 <[email protected]>
AuthorDate: Fri Feb 2 10:57:45 2024 +0800
x64: modify addr limit to support 64 bits addr backtrace
Signed-off-by: andi6 <[email protected]>
---
arch/x86_64/src/intel64/intel64_regdump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86_64/src/intel64/intel64_regdump.c
b/arch/x86_64/src/intel64/intel64_regdump.c
index 87356f6e13..0d0eaa8b9f 100644
--- a/arch/x86_64/src/intel64/intel64_regdump.c
+++ b/arch/x86_64/src/intel64/intel64_regdump.c
@@ -90,7 +90,7 @@ void backtrace(uint64_t rbp)
for (i = 0; i < 16; i++)
{
- if ((rbp < 0x200000) || (rbp > 0xffffffff))
+ if ((rbp < 0x200000) || (rbp > 0xfffffffff))
{
break;
}