/* 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.
/* These implement the cli out interpreter: */
static void *
-cli_interpreter_init (void)
+cli_interpreter_init (int top_level)
{
return NULL;
}
{
struct captured_execute_command_args *args =
(struct captured_execute_command_args *) data;
+
execute_command (args->command, args->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,