aboutsummaryrefslogtreecommitdiff
path: root/gdb/monitor.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-07-21 16:56:28 -0600
committerTom Tromey <tromey@redhat.com>2014-07-24 11:30:02 -0600
commit5a19e2d0fe40c852ea1ccc46c596764bb35d4d7d (patch)
tree98e871aae5a5f837f33288981de08c9d2526aa61 /gdb/monitor.h
parentfc4baa5e1f016c27eab4b2593a1ba9db60e11bee (diff)
downloadgdb-5a19e2d0fe40c852ea1ccc46c596764bb35d4d7d.zip
gdb-5a19e2d0fe40c852ea1ccc46c596764bb35d4d7d.tar.gz
gdb-5a19e2d0fe40c852ea1ccc46c596764bb35d4d7d.tar.bz2
constify monitor_open
This constifies an argument to monitor_open. 2014-07-24 Tom Tromey <tromey@redhat.com> * monitor.c (monitor_open): Make "args" const. * monitor.h (monitor_open): Update.
Diffstat (limited to 'gdb/monitor.h')
-rw-r--r--gdb/monitor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/monitor.h b/gdb/monitor.h
index 07caf97..52521c8 100644
--- a/gdb/monitor.h
+++ b/gdb/monitor.h
@@ -239,7 +239,8 @@ struct monitor_ops
#define SREC_SIZE 160
-extern void monitor_open (char *args, struct monitor_ops *ops, int from_tty);
+extern void monitor_open (const char *args, struct monitor_ops *ops,
+ int from_tty);
extern void monitor_close (struct target_ops *self);
extern char *monitor_supply_register (struct regcache *regcache,
int regno, char *valstr);