]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use std::string in mi-main.c
authorTom Tromey <tom@tromey.com>
Thu, 4 May 2017 22:01:41 +0000 (16:01 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 30 Sep 2017 03:12:16 +0000 (21:12 -0600)
commitdcd5ddccd7d7917caf42b8d429a7535857c6e9b2
tree1e0745cd1b9ddf545721edf4eb1a7aa5abe596c7
parent45d288cc64e08dd68938f1d9bcc70906b5343652
Use std::string in mi-main.c

Change a couple of spots in mi-main.c to use std::string, and change
one place to use field_fmt.  This removes some cleanups.

gdb/ChangeLog
2017-09-29  Tom Tromey  <tom@tromey.com>

* mi/mi-main.c (mi_execute_cli_command): Use std::string.
(mi_execute_async_cli_command): Likewise.
(mi_cmd_trace_frame_collected): Use field_fmt.
gdb/ChangeLog
gdb/mi/mi-main.c