aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-05-14 20:32:15 +0000
committerTom Tromey <tromey@redhat.com>2013-05-14 20:32:15 +0000
commit503ebb2c1de7f1710f8f9633feb60821f6aac552 (patch)
tree03a15d09933f1d85308c842b8f96412a581f55dd /gdb/target.h
parent85e1311a3cf4df0eafe2886a29fc753054b71e37 (diff)
downloadgdb-503ebb2c1de7f1710f8f9633feb60821f6aac552.zip
gdb-503ebb2c1de7f1710f8f9633feb60821f6aac552.tar.gz
gdb-503ebb2c1de7f1710f8f9633feb60821f6aac552.tar.bz2
* go32-nat.c (go32_terminal_info): Make 'args' const.
* inferior.h (child_terminal_info): Update. * inflow.c (child_terminal_info): Make 'args' const. * target.c (default_terminal_info): Make 'args' const. (debug_to_terminal_save_ours): Likewise. * target.h (struct target_ops) <to_terminal_info>: Make argument const.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 993e7b0..af1135e 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -499,7 +499,7 @@ struct target_ops
void (*to_terminal_ours_for_output) (void);
void (*to_terminal_ours) (void);
void (*to_terminal_save_ours) (void);
- void (*to_terminal_info) (char *, int);
+ void (*to_terminal_info) (const char *, int);
void (*to_kill) (struct target_ops *);
void (*to_load) (char *, int);
void (*to_create_inferior) (struct target_ops *,