Use std::string thread.c
authorTom Tromey <tom@tromey.com>
Fri, 11 Aug 2017 20:48:17 +0000 (14:48 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 3 Sep 2017 19:03:03 +0000 (13:03 -0600)
commit7ffd83d70f2792a8a538e8599959a6ed7f5b751d
tree22b26fd05fa325a750d050b92b0cb1f4bf28d8bd
parent1ccbe9985f607b291bb6fc920beda60225f1bf83
Use std::string thread.c

This changes a few spots in thread.c to use std::string, removing some
cleanups.

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

* thread.c (print_thread_info_1): Use string_printf.
(thread_apply_command, thread_apply_all_command): Use
std::string.
gdb/ChangeLog
gdb/thread.c