From 1b2ad4ff7dc89a9f057fc710e26e47c09b258ffb Mon Sep 17 00:00:00 2001 From: anjiahao Date: Thu, 6 Jun 2024 17:08:33 +0800 Subject: [PATCH] gdbstub: fix typo Signed-off-by: anjiahao --- 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 b38298f5df..f8e80013da 100644 --- a/libs/libc/gdbstub/lib_gdbstub.c +++ b/libs/libc/gdbstub/lib_gdbstub.c @@ -1726,7 +1726,7 @@ int gdb_debugpoint_add(int type, FAR void *addr, size_t size, point.size = size; point.callback = callback; point.arg = arg; - retrun nxsched_smp_call((1 << CONFIG_SMP_NCPUS) - 1, + return nxsched_smp_call((1 << CONFIG_SMP_NCPUS) - 1, gdb_smp_debugpoint_add, &point, true); #else return up_debugpoint_add(type, addr, size, callback, arg);