diff options
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/target.h b/gdb/target.h index 96d5cb1..a0a0d30 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -499,7 +499,7 @@ struct target_ops TARGET_DEFAULT_FUNC (default_terminal_info); void (*to_kill) (struct target_ops *) TARGET_DEFAULT_NORETURN (noprocess ()); - void (*to_load) (struct target_ops *, char *, int) + void (*to_load) (struct target_ops *, const char *, int) TARGET_DEFAULT_NORETURN (tcomplain ()); /* Start an inferior process and set inferior_ptid to its pid. EXEC_FILE is the file to run. @@ -1423,7 +1423,7 @@ extern void target_kill (void); sections. The target may define switches, or other non-switch arguments, as it pleases. */ -extern void target_load (char *arg, int from_tty); +extern void target_load (const char *arg, int from_tty); /* Some targets (such as ttrace-based HPUX) don't allow us to request notification of inferior events such as fork and vork immediately |