aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-interp.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-06 00:32:38 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-06 00:32:38 +0000
commita1b7d1984a2ab493678efa1fa5c4cff683e61a71 (patch)
treef70b63132dff034347d51b8b7a35255cafd5ad15 /gdb/mi/mi-interp.c
parent2a2287c76e5f6be55c9f42c9a0a38595a0bfac0b (diff)
downloadgdb-a1b7d1984a2ab493678efa1fa5c4cff683e61a71.zip
gdb-a1b7d1984a2ab493678efa1fa5c4cff683e61a71.tar.gz
gdb-a1b7d1984a2ab493678efa1fa5c4cff683e61a71.tar.bz2
2010-05-05 Michael Snyder <msnyder@vmware.com>
* mi/mi-out.c (mi_table_begin): Delete unused variable. * mi/mi-cmd-var.c (print_varobj): Delete unused variable. (mi_cmd_var_list_children): Delete unused variable. (varobj_update_one): Delete unused variable. * mi/mi-cmd-break.c (mi_cmd_break_insert): Delete unused variables. * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Delete unused variable. (mi_cmd_stack_list_variables): Delete unused variable. (list_args_or_locals): Delete unused variable. * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Delete unused variables. (mi_cmd_file_list_exec_source_files): Delete unused variable. * mi/mi-cmd-target.c (mi_cmd_target_file_delete): Delete unused variable. * mi/mi-interp.c (mi_interpreter_exec): Delete unused variable. (mi_cmd_interpreter_exec): Delete unused variable. (mi_on_normal_stop): Delete unused variable. * mi/mi-main.c (run_one_inferior): Delete unused variable. (print_one_inferior): Delete unused variables. (mi_execute_command): Delete unused variable. (mi_cmd_execute): Delete unused variable. (timestamp): Delete unused variable.
Diffstat (limited to 'gdb/mi/mi-interp.c')
-rw-r--r--gdb/mi/mi-interp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index 33429c4..c6d7160 100644
--- a/gdb/mi/mi-interp.c
+++ b/gdb/mi/mi-interp.c
@@ -169,7 +169,6 @@ mi_interpreter_suspend (void *data)
static struct gdb_exception
mi_interpreter_exec (void *data, const char *command)
{
- static struct gdb_exception ok;
char *tmp = alloca (strlen (command) + 1);
strcpy (tmp, command);
mi_execute_command_wrapper (tmp);
@@ -188,7 +187,6 @@ mi_cmd_interpreter_exec (char *command, char **argv, int argc)
{
struct interp *interp_to_use;
int i;
- struct interp_procs *procs;
char *mi_error_message = NULL;
struct cleanup *old_chain;
@@ -375,7 +373,6 @@ mi_on_normal_stop (struct bpstats *bs, int print_frame)
using cli interpreter, be sure to use MI uiout for output,
not the current one. */
struct ui_out *mi_uiout = interp_ui_out (top_level_interpreter ());
- struct mi_interp *mi = top_level_interpreter_data ();
if (print_frame)
{