Make strip_bg_char return a unique_xmalloc_ptr
authorTom Tromey <tom@tromey.com>
Wed, 11 Oct 2017 03:54:01 +0000 (21:54 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 7 Nov 2017 20:59:09 +0000 (13:59 -0700)
commit6be9a197d96c3c346271b46ec6270bd719eb9932
tree06de606dccfb480181c42847f0359beaa62d4c04
parentc2252c0dd8dcf3bb95598149aecd3158e89c31d7
Make strip_bg_char return a unique_xmalloc_ptr

This changes strip_bg_char to return a unique_xmalloc_ptr and removes
several cleanups.

gdb/ChangeLog
2017-11-07  Tom Tromey  <tom@tromey.com>

* infcmd.c (strip_bg_char): Return gdb::unique_xmalloc_ptr.
(run_command_1, continue_command, step_1, jump_command)
(signal_command, until_command, advance_command, finish_command)
(attach_command): Update.
gdb/ChangeLog
gdb/infcmd.c