diff options
Diffstat (limited to 'gdb/mi/mi-cmd-var.c')
-rw-r--r-- | gdb/mi/mi-cmd-var.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-cmd-var.c b/gdb/mi/mi-cmd-var.c index 37c87ff..fc52de1 100644 --- a/gdb/mi/mi-cmd-var.c +++ b/gdb/mi/mi-cmd-var.c @@ -207,7 +207,7 @@ mi_cmd_var_set_format (char *command, char **argv, int argc) if (var == NULL) error (_("mi_cmd_var_set_format: Variable object not found")); - formspec = xstrdup (argv[1]); + formspec = argv[1]; if (formspec == NULL) error (_("mi_cmd_var_set_format: Must specify the format as: \"natural\", \"binary\", \"decimal\", \"hexadecimal\", or \"octal\"")); |