constify target fields
authorTom Tromey <tromey@redhat.com>
Tue, 22 Jul 2014 02:57:15 +0000 (20:57 -0600)
committerTom Tromey <tromey@redhat.com>
Thu, 24 Jul 2014 17:30:04 +0000 (11:30 -0600)
commite9e7f7240542809f82286e4043ca05409dc761a9
tree14b3711ab0ae54b53c6890eab0eefe4290145a67
parent1947513d924efec8b839718cda515ecfc21dd293
constify target fields

This constifies the target_ops fields to_shortname, to_longname, and
to_doc.

2014-07-24  Tom Tromey  <tromey@redhat.com>

* monitor.c (compile_pattern): Update.
* target.h (struct target_ops) <to_shortname, to_longname,
to_doc>: Now const.
gdb/ChangeLog
gdb/monitor.c
gdb/target.h