This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 9327bde48801c3792758fc9a7a3f97940c5ac233
Author: xuxingliang <[email protected]>
AuthorDate: Thu Apr 10 00:13:32 2025 +0800

    arch/tricore: add all registers to reginfo
    
    When using gdbstub to generate a core file with the gcore command,
    GDB expects all registers to be available.
    
    Signed-off-by: xuxingliang <[email protected]>
---
 arch/tricore/src/common/tricore_tcbinfo.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/tricore/src/common/tricore_tcbinfo.c 
b/arch/tricore/src/common/tricore_tcbinfo.c
index 28ca668f4e4..c2e95dd2bb2 100644
--- a/arch/tricore/src/common/tricore_tcbinfo.c
+++ b/arch/tricore/src/common/tricore_tcbinfo.c
@@ -73,6 +73,13 @@ static const uint16_t g_reg_offs[] =
   TCB_REG_OFF(REG_LPCXI),
   TCB_REG_OFF(16 + REG_PSW),
   TCB_REG_OFF(REG_LA11),
+  UINT16_MAX,
+  UINT16_MAX,
+  UINT16_MAX,
+  UINT16_MAX,
+  UINT16_MAX,
+  UINT16_MAX,
+  UINT16_MAX,
 };
 
 /****************************************************************************

Reply via email to