Use std::string and unique_xmalloc_ptr in demangle_command
authorTom Tromey <tom@tromey.com>
Mon, 14 Aug 2017 05:38:09 +0000 (23:38 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 3 Sep 2017 19:03:08 +0000 (13:03 -0600)
commit453437863c82afc8ed5bfcb937a2e297957fc212
treeef62052b8c22b6146b3e60377c69cf4a412488fc
parentb57af50345945f32e6615391ac62a4f589c0fada
Use std::string and unique_xmalloc_ptr in demangle_command

Change demangle_command to use std::string and unique_xmalloc_ptr,
removing some cleanups.

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

* demangle.c (demangle_command): Use std::string,
unique_xmalloc_ptr.
gdb/ChangeLog
gdb/demangle.c