aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-cmd-var.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-06-01 13:33:58 +0000
committerAndrew Cagney <cagney@redhat.com>2004-06-01 13:33:58 +0000
commitc6902d4692167d1152c6d6b8ee93182d775fe656 (patch)
tree331a889cd98af35ac3c2da3687db6e2d4ecbdf6e /gdb/mi/mi-cmd-var.c
parent6085fc2d26557f389a19e00c9288197f66e65ca7 (diff)
downloadgdb-c6902d4692167d1152c6d6b8ee93182d775fe656.zip
gdb-c6902d4692167d1152c6d6b8ee93182d775fe656.tar.gz
gdb-c6902d4692167d1152c6d6b8ee93182d775fe656.tar.bz2
2004-06-01 Andrew Cagney <cagney@gnu.org>
* mi/mi-cmd-env.c (env_execute_cli_command): Use xstrprintf instead of xasprintf. * mi/mi-main.c (mi_error_last_message, mi_cmd_exec_interrupt) (mi_cmd_thread_select, mi_cmd_thread_list_ids) (mi_cmd_data_list_register_names) (mi_cmd_data_list_changed_registers) (mi_cmd_data_list_register_values) (get_register, mi_cmd_data_write_register_values) (mi_cmd_data_write_register_values) (mi_cmd_data_assign, mi_cmd_data_evaluate_expression) (mi_cmd_target_download, mi_cmd_target_select) (mi_cmd_data_read_memory, mi_cmd_data_write_memory) (mi_execute_cli_command, mi_execute_async_cli_command) (mi_execute_async_cli_command): Ditto. * mi/mi-interp.c (mi_cmd_interpreter_exec) Ditto. * mi/mi-cmd-var.c (mi_cmd_var_create): Ditto.
Diffstat (limited to 'gdb/mi/mi-cmd-var.c')
-rw-r--r--gdb/mi/mi-cmd-var.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/mi/mi-cmd-var.c b/gdb/mi/mi-cmd-var.c
index 709ed301..6f3a2b7 100644
--- a/gdb/mi/mi-cmd-var.c
+++ b/gdb/mi/mi-cmd-var.c
@@ -50,9 +50,8 @@ mi_cmd_var_create (char *command, char **argv, int argc)
if (argc != 3)
{
- /* xasprintf (&mi_error_message,
- "mi_cmd_var_create: Usage: .");
- return MI_CMD_ERROR; */
+ /* mi_error_message = xstrprintf ("mi_cmd_var_create: Usage:
+ ...."); return MI_CMD_ERROR; */
error ("mi_cmd_var_create: Usage: NAME FRAME EXPRESSION.");
}