OSDN Git Service

* mi/mi-main.c (mi_cmd_exec_next, mi_cmd_exec_next_instruction)
authorPedro Alves <pedro@codesourcery.com>
Sat, 16 Aug 2008 22:26:19 +0000 (22:26 +0000)
committerPedro Alves <pedro@codesourcery.com>
Sat, 16 Aug 2008 22:26:19 +0000 (22:26 +0000)
(mi_cmd_exec_step, mi_cmd_exec_step_instruction)
(mi_cmd_exec_finish): Remove "return".

gdb/ChangeLog
gdb/mi/mi-main.c

index df1cb37..3d59000 100644 (file)
@@ -1,5 +1,11 @@
 2008-08-16  Pedro Alves  <pedro@codesourcery.com>
 
+       * 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  <pedro@codesourcery.com>
+
        * target.h (pop_all_targets): Declare.
        * target.c (pop_all_targets): New.
        * top.c (quit_target): Pop all targets instead of just closing the
index 733fc47..30e62f6 100644 (file)
@@ -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