remote.c, QCatchSyscalls: Build std::string instead of unique_xmalloc_ptr
authorPedro Alves <palves@redhat.com>
Mon, 30 Oct 2017 11:41:34 +0000 (11:41 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 30 Oct 2017 11:41:34 +0000 (11:41 +0000)
commit1b81856f5b00e7ba860e4de2f3a426f342327165
tree966829f77a9aff1f1aa980f4e8652e2fcfec01a8
parent31b833b3eab69d91df67edc3e9a21792abc3f93e
remote.c, QCatchSyscalls: Build std::string instead of unique_xmalloc_ptr

Simplify the code a little bit using std::string + string_appendf.

gdb/ChangeLog:
2017-10-30  Pedro Alves  <palves@redhat.com>
    Simon Marchi <simon.marchi@ericsson.com>

* remote.c (remote_set_syscall_catchpoint): Build a std::string
instead of a gdb::unique_xmalloc_ptr, using string_appendf.
gdb/ChangeLog
gdb/remote.c