From 8931f5261f2cc200cbaa534d82b3199ac8e4dbdb Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Sat, 16 Aug 2008 22:26:19 +0000 Subject: [PATCH] * mi/mi-main.c (mi_cmd_exec_next, mi_cmd_exec_next_instruction) (mi_cmd_exec_step, mi_cmd_exec_step_instruction) (mi_cmd_exec_finish): Remove "return". --- gdb/ChangeLog | 6 ++++++ gdb/mi/mi-main.c | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index df1cb37f328..3d590003893 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2008-08-16 Pedro Alves + + * mi/mi-main.c (mi_cmd_exec_next, mi_cmd_exec_next_instruction) + (mi_cmd_exec_step, mi_cmd_exec_step_instruction) + (mi_cmd_exec_finish): Remove "return". + 2008-08-16 Pedro Alves * target.h (pop_all_targets): Declare. diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 733fc474f39..30e62f6372c 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -110,35 +110,35 @@ void mi_cmd_exec_next (char *command, char **argv, int argc) { /* FIXME: Should call a libgdb function, not a cli wrapper. */ - return mi_execute_async_cli_command ("next", argv, argc); + mi_execute_async_cli_command ("next", argv, argc); } void mi_cmd_exec_next_instruction (char *command, char **argv, int argc) { /* FIXME: Should call a libgdb function, not a cli wrapper. */ - return mi_execute_async_cli_command ("nexti", argv, argc); + mi_execute_async_cli_command ("nexti", argv, argc); } void mi_cmd_exec_step (char *command, char **argv, int argc) { /* FIXME: Should call a libgdb function, not a cli wrapper. */ - return mi_execute_async_cli_command ("step", argv, argc); + mi_execute_async_cli_command ("step", argv, argc); } void mi_cmd_exec_step_instruction (char *command, char **argv, int argc) { /* FIXME: Should call a libgdb function, not a cli wrapper. */ - return mi_execute_async_cli_command ("stepi", argv, argc); + mi_execute_async_cli_command ("stepi", argv, argc); } void mi_cmd_exec_finish (char *command, char **argv, int argc) { /* FIXME: Should call a libgdb function, not a cli wrapper. */ - return mi_execute_async_cli_command ("finish", argv, argc); + mi_execute_async_cli_command ("finish", argv, argc); } void -- 2.30.2