Use new and delete for struct infcall_suspend_state
authorTom Tromey <tom@tromey.com>
Thu, 14 Jun 2018 22:32:46 +0000 (15:32 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 17 Sep 2018 06:42:17 +0000 (00:42 -0600)
commitdd848631cb96f7d25270faeee4c9736577230a29
tree74e58b6378972ec36458a95164517f54122d7229
parent1a3389079dd5c93419846f44d42027a526ce19cf
Use new and delete for struct infcall_suspend_state

This changes infrun.c to use new and delete for infcall_suspend_state.
This enables the coming cleanups.

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

* gdbthread.h (struct thread_suspend_state): Add initializers.
(class thread_info) <suspend>: Remove initializer.
* infrun.c (struct infcall_suspend_state): Add initializers.
(save_infcall_suspend_state): Use new.
(discard_infcall_suspend_state): Use delete.
gdb/ChangeLog
gdb/gdbthread.h
gdb/infrun.c
This page took 0.025052 seconds and 4 git commands to generate.