Use std::string in do_set_command
authorTom Tromey <tom@tromey.com>
Sun, 13 Aug 2017 20:45:17 +0000 (14:45 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 3 Sep 2017 19:03:07 +0000 (13:03 -0600)
commitb57af50345945f32e6615391ac62a4f589c0fada
tree8326cc170c8fed11305ca91a2089f13fbac7e12f
parent6eecf35f97e1d37e49e385ba599797dd1c8afd1f
Use std::string in do_set_command

Change do_set_command to use std::string, removing a cleanup and some
manual resizing code.

ChangeLog
2017-09-03  Tom Tromey  <tom@tromey.com>

* cli/cli-setshow.c (do_set_command): Use std::string.
gdb/ChangeLog
gdb/cli/cli-setshow.c