gdbstub:fix typo
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
f307c1587c
commit
f4d1f56df7
|
@ -1897,7 +1897,7 @@ int gdb_debugpoint_remove(int type, FAR void *addr, size_t size)
|
||||||
point.addr = addr;
|
point.addr = addr;
|
||||||
point.size = size;
|
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);
|
gdb_smp_debugpoint_remove, &point, true);
|
||||||
#else
|
#else
|
||||||
return up_debugpoint_remove(type, addr, size);
|
return up_debugpoint_remove(type, addr, size);
|
||||||
|
|
Loading…
Reference in New Issue