Remove cleanup from infrun.c
authorTom Tromey <tom@tromey.com>
Thu, 14 Jun 2018 22:41:12 +0000 (15:41 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 17 Sep 2018 06:42:17 +0000 (00:42 -0600)
commit117f580a97f721465d62d0630594dafdcd89e4e8
treeb9e38004fa77250030c883f113f40215a20c30d8
parentdd848631cb96f7d25270faeee4c9736577230a29
Remove cleanup from infrun.c

This removes a cleanup from infrun.c by taking advantage of the
previous patch to introduce a use of unique_xmalloc_ptr.

gdb/ChangeLog
2018-09-17  Tom Tromey  <tom@tromey.com>

* infrun.c (struct infcall_suspend_state) <registers>: Now a
unique_ptr.
<siginfo_data>: Now a unique_xmalloc_ptr.
(save_infcall_suspend_state, restore_infcall_suspend_state)
(discard_infcall_suspend_state)
(get_infcall_suspend_state_regcache): Update.
gdb/ChangeLog
gdb/infrun.c