mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
tools/nuttx-gdbinit: correct xcp context size
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
+1
-2
@@ -59,8 +59,7 @@ define _examine_target
|
||||
if ($_target_examined == 0x0)
|
||||
_examine_arch
|
||||
|
||||
set $_tcb0 = g_pidhash[0]
|
||||
set $_xcp_nregs = sizeof($_tcb0->xcp.regs) / sizeof($_tcb0->xcp.regs[0])
|
||||
set $_xcp_nregs = sizeof(g_last_regs) / sizeof(void *)
|
||||
set $_target_has_fpu = 0
|
||||
|
||||
if ($_streq($_target_arch, "armv7e-m") == 1)
|
||||
|
||||
Reference in New Issue
Block a user