gdb/remote: Remove a cleanup in remote_check_symbols
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 31 Dec 2018 14:05:09 +0000 (14:05 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 3 Jan 2019 21:24:00 +0000 (21:24 +0000)
commit66644cd32ba63e7fda70e455766b438631ec0b61
treef8a7255166793a24a5c33150f9adf3c4c6a03975
parent592d8c0a5d193d3aad03437942a54a667477acea
gdb/remote: Remove a cleanup in remote_check_symbols

Convert one of the variables that requires a cleanup from a 'char *'
to a 'gdb::char_vector' in remote_target::remote_check_symbols.

Tested on x86-64/Linux with target_board native-gdbserver and
native-extended-gdbserver.

gdb/ChangeLog:

* remote.c (remote_target::remote_check_symbols): Convert `msg` to
gdb::char_vector, remove cleanup, and update uses of `msg`.
gdb/ChangeLog
gdb/remote.c