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

commit f4d1f56df7f71f281d842b19fa4bedef8ce42cf4
Author: anjiahao <anjia...@xiaomi.com>
AuthorDate: Mon Oct 21 15:57:38 2024 +0800

    gdbstub:fix typo
    
    Signed-off-by: anjiahao <anjia...@xiaomi.com>
---
 libs/libc/gdbstub/lib_gdbstub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/libc/gdbstub/lib_gdbstub.c b/libs/libc/gdbstub/lib_gdbstub.c
index 2659994069..a8e4f56890 100644
--- a/libs/libc/gdbstub/lib_gdbstub.c
+++ b/libs/libc/gdbstub/lib_gdbstub.c
@@ -1897,7 +1897,7 @@ int gdb_debugpoint_remove(int type, FAR void *addr, 
size_t size)
   point.addr = addr;
   point.size = size;
 
-  retrun nxsched_smp_call((1 << CONFIG_SMP_NCPUS) - 1,
+  return nxsched_smp_call((1 << CONFIG_SMP_NCPUS) - 1,
                           gdb_smp_debugpoint_remove, &point, true);
 #else
   return up_debugpoint_remove(type, addr, size);

Reply via email to