summaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-05-14 20:32:14 +0000
committerTom Tromey <tromey@redhat.com>2013-05-14 20:32:14 +0000
commit499e1aa537ff95059f94e3578b46bad03476f81d (patch)
tree15e0c90151ada14f76e50ee2807b5ab62fe18668 /gdb/target.h
parent9ebb53df62142e78f45f2038d1abd6cc50140cf3 (diff)
downloadgdb-499e1aa537ff95059f94e3578b46bad03476f81d.tar.gz
* 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 993e7b067c2..af1135e6f62 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 *,