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);