diff options
Diffstat (limited to 'gdb/mi/mi-cmd-target.c')
-rw-r--r-- | gdb/mi/mi-cmd-target.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/mi/mi-cmd-target.c b/gdb/mi/mi-cmd-target.c index 14b22de..5f18365 100644 --- a/gdb/mi/mi-cmd-target.c +++ b/gdb/mi/mi-cmd-target.c @@ -33,7 +33,7 @@ mi_cmd_target_file_get (char *command, char **argv, int argc) { { 0, 0, 0 } }; - static const char *prefix = "-target-file-get"; + static const char prefix[] = "-target-file-get"; if (mi_getopt (prefix, argc, argv, opts, &optind, &optarg) != -1 || optind != argc - 2) @@ -57,7 +57,7 @@ mi_cmd_target_file_put (char *command, char **argv, int argc) { { 0, 0, 0 } }; - static const char *prefix = "-target-file-put"; + static const char prefix[] = "-target-file-put"; if (mi_getopt (prefix, argc, argv, opts, &optind, &optarg) != -1 || optind != argc - 2) @@ -81,7 +81,7 @@ mi_cmd_target_file_delete (char *command, char **argv, int argc) { { 0, 0, 0 } }; - static const char *prefix = "-target-file-delete"; + static const char prefix[] = "-target-file-delete"; if (mi_getopt (prefix, argc, argv, opts, &optind, &optarg) != -1 || optind != argc - 1) |