Eliminate cleanup in gdbscm_execute_gdb_command
authorPedro Alves <palves@redhat.com>
Wed, 18 Jul 2018 22:41:06 +0000 (23:41 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 18 Jul 2018 22:41:06 +0000 (23:41 +0100)
commit3a5f2a48ffe3941396d7a19d9398c9a4945b4e5d
treecf7d7656953a1109c0f8e8d12eda3ed3280c519f
parent557e56be2648db13cd5d9876f702ba119ee9e7fd
Eliminate cleanup in gdbscm_execute_gdb_command

Note: the "may be modified" comment is no longer true nowadays.

gdb/ChangeLog:
2018-07-18  Pedro Alves  <palves@redhat.com>

* guile/guile.c (gdbscm_execute_gdb_command): Adjust to use
gdbscm_wrap.  Use gdb::unique_xmalloc_ptr<char> instead of a
cleanup.
gdb/ChangeLog
gdb/guile/guile.c