aboutsummaryrefslogtreecommitdiff
path: root/gdb/go32-nat.c
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/go32-nat.c
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/go32-nat.c')
-rw-r--r--gdb/go32-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
index ea6d1ca..0d9bb9d 100644
--- a/gdb/go32-nat.c
+++ b/gdb/go32-nat.c
@@ -876,7 +876,7 @@ go32_terminal_init (void)
}
static void
-go32_terminal_info (char *args, int from_tty)
+go32_terminal_info (const char *args, int from_tty)
{
printf_unfiltered ("Inferior's terminal is in %s mode.\n",
!inf_mode_valid