Skip to content

Commit

Permalink
gdbstub: Minor style fix
Browse files Browse the repository at this point in the history
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
  • Loading branch information
no1wudi authored and acassis committed Jun 26, 2024
1 parent 6899add commit a14d94c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/libc/gdbstub/lib_gdbstub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit a14d94c

Please sign in to comment.