diff options
Diffstat (limited to 'gdb/mi/mi-cmd-catch.c')
-rw-r--r-- | gdb/mi/mi-cmd-catch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/mi/mi-cmd-catch.c b/gdb/mi/mi-cmd-catch.c index ee189f3..a767ee7 100644 --- a/gdb/mi/mi-cmd-catch.c +++ b/gdb/mi/mi-cmd-catch.c @@ -30,7 +30,7 @@ /* Handler for the -catch-assert command. */ void -mi_cmd_catch_assert (char *cmd, char *argv[], int argc) +mi_cmd_catch_assert (const char *cmd, char *argv[], int argc) { struct gdbarch *gdbarch = get_current_arch(); char *condition = NULL; @@ -91,7 +91,7 @@ mi_cmd_catch_assert (char *cmd, char *argv[], int argc) /* Handler for the -catch-exception command. */ void -mi_cmd_catch_exception (char *cmd, char *argv[], int argc) +mi_cmd_catch_exception (const char *cmd, char *argv[], int argc) { struct gdbarch *gdbarch = get_current_arch(); char *condition = NULL; @@ -225,7 +225,7 @@ mi_catch_load_unload (int load, char *argv[], int argc) /* Handler for the -catch-load. */ void -mi_cmd_catch_load (char *cmd, char *argv[], int argc) +mi_cmd_catch_load (const char *cmd, char *argv[], int argc) { mi_catch_load_unload (1, argv, argc); } @@ -234,7 +234,7 @@ mi_cmd_catch_load (char *cmd, char *argv[], int argc) /* Handler for the -catch-unload. */ void -mi_cmd_catch_unload (char *cmd, char *argv[], int argc) +mi_cmd_catch_unload (const char *cmd, char *argv[], int argc) { mi_catch_load_unload (0, argv, argc); } |