gdbstub: fix typo

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
anjiahao 2024-06-06 17:08:33 +08:00 committed by Xiang Xiao
parent 756d9508bc
commit 1b2ad4ff7d

View File

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