Use ui_file_as_string in gdb/remote.c
authorPedro Alves <palves@redhat.com>
Tue, 8 Nov 2016 15:26:45 +0000 (15:26 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 8 Nov 2016 15:26:45 +0000 (15:26 +0000)
commitb3ced9bad2d8d5eb9ebabc5f8f7c6ab871f63748
tree3ed3b708538ff2cd18ba6549fa76c9fdf3d669f9
parentc92aed165e8af79f51c5165f98f12389bb59a121
Use ui_file_as_string in gdb/remote.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

* remote.c (escape_buffer): Use ui_file_as_string and return
std::string.
(putpkt_binary, read_frame): Adjust to use std::string.
gdb/ChangeLog
gdb/remote.c