mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
gdbstub: Minor style fix
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
6899add8e3
commit
a14d94c548
1 changed files with 2 additions and 2 deletions
|
@ -1629,7 +1629,7 @@ static int gdb_debugpoint(FAR struct gdb_state_s *state, bool enable)
|
||||||
if (enable)
|
if (enable)
|
||||||
{
|
{
|
||||||
ret = gdb_debugpoint_add(type, (FAR void *)addr, size,
|
ret = gdb_debugpoint_add(type, (FAR void *)addr, size,
|
||||||
gdb_debugpoint_callback, state);
|
gdb_debugpoint_callback, state);
|
||||||
}
|
}
|
||||||
else
|
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)
|
static int gdb_step(FAR struct gdb_state_s *state)
|
||||||
{
|
{
|
||||||
int ret = gdb_debugpoint_add(GDB_STOPREASON_STEPPOINT, NULL, 0,
|
int ret = gdb_debugpoint_add(GDB_STOPREASON_STEPPOINT, NULL, 0,
|
||||||
gdb_debugpoint_callback, state);
|
gdb_debugpoint_callback, state);
|
||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue