From a14d94c548668a9aa8438ba58188938227123e57 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Wed, 26 Jun 2024 15:57:11 +0800 Subject: [PATCH] gdbstub: Minor style fix Signed-off-by: Huang Qi --- libs/libc/gdbstub/lib_gdbstub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/libc/gdbstub/lib_gdbstub.c b/libs/libc/gdbstub/lib_gdbstub.c index f8e80013da..f1ed4a8769 100644 --- a/libs/libc/gdbstub/lib_gdbstub.c +++ b/libs/libc/gdbstub/lib_gdbstub.c @@ -1629,7 +1629,7 @@ static int gdb_debugpoint(FAR struct gdb_state_s *state, bool enable) if (enable) { ret = gdb_debugpoint_add(type, (FAR void *)addr, size, - gdb_debugpoint_callback, state); + gdb_debugpoint_callback, state); } else { @@ -1665,7 +1665,7 @@ static int gdb_debugpoint(FAR struct gdb_state_s *state, bool enable) static int gdb_step(FAR struct gdb_state_s *state) { int ret = gdb_debugpoint_add(GDB_STOPREASON_STEPPOINT, NULL, 0, - gdb_debugpoint_callback, state); + gdb_debugpoint_callback, state); if (ret < 0) {