aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-interp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mi/mi-interp.c')
-rw-r--r--gdb/mi/mi-interp.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index 2338639..6aaed3a 100644
--- a/gdb/mi/mi-interp.c
+++ b/gdb/mi/mi-interp.c
@@ -196,10 +196,12 @@ mi_cmd_interpreter_exec (char *command, char **argv, int argc)
interp_to_use = interp_lookup (argv[0]);
if (interp_to_use == NULL)
- error ("mi_cmd_interpreter_exec: could not find interpreter \"%s\"", argv[0]);
+ error ("mi_cmd_interpreter_exec: could not find interpreter \"%s\"",
+ argv[0]);
if (!interp_exec_p (interp_to_use))
- error ("mi_cmd_interpreter_exec: interpreter \"%s\" does not support command execution",
+ error ("mi_cmd_interpreter_exec: interpreter \"%s\" "
+ "does not support command execution",
argv[0]);
/* Insert the MI out hooks, making sure to also call the interpreter's hooks
@@ -231,11 +233,12 @@ mi_cmd_interpreter_exec (char *command, char **argv, int argc)
}
/*
- * mi_insert_notify_hooks - This inserts a number of hooks that are meant to produce
- * async-notify ("=") MI messages while running commands in another interpreter
- * using mi_interpreter_exec. The canonical use for this is to allow access to
- * the gdb CLI interpreter from within the MI, while still producing MI style output
- * when actions in the CLI command change gdb's state.
+ * mi_insert_notify_hooks - This inserts a number of hooks that are
+ * meant to produce async-notify ("=") MI messages while running
+ * commands in another interpreter using mi_interpreter_exec. The
+ * canonical use for this is to allow access to the gdb CLI
+ * interpreter from within the MI, while still producing MI style
+ * output when actions in the CLI command change gdb's state.
*/
static void