]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/cli/cli-interp.c
* configure.ac: Move comment to remove extra space in last argument
[thirdparty/binutils-gdb.git] / gdb / cli / cli-interp.c
index 2761b1ca9b31e4bc65c13dada439353f8ebe172c..fd75c7a181b7a7e0597dca1297a38e9cdd5eac0e 100644 (file)
@@ -1,6 +1,7 @@
 /* CLI Definitions for GDB, the GNU debugger.
 
-   Copyright (c) 2002, 2003, 2007, 2008 Free Software Foundation, Inc.
+   Copyright (c) 2002, 2003, 2007, 2008, 2009, 2010
+   Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -43,7 +44,7 @@ struct captured_execute_command_args
 /* These implement the cli out interpreter: */
 
 static void *
-cli_interpreter_init (void)
+cli_interpreter_init (int top_level)
 {
   return NULL;
 }
@@ -117,6 +118,7 @@ do_captured_execute_command (struct ui_out *uiout, void *data)
 {
   struct captured_execute_command_args *args =
     (struct captured_execute_command_args *) data;
+
   execute_command (args->command, args->from_tty);
 }
 
@@ -125,6 +127,7 @@ safe_execute_command (struct ui_out *uiout, char *command, int from_tty)
 {
   struct gdb_exception e;
   struct captured_execute_command_args args;
+
   args.command = command;
   args.from_tty = from_tty;
   e = catch_exception (uiout, do_captured_execute_command, &args,