diff options
author | Tom Tromey <tom@tromey.com> | 2018-06-14 15:32:46 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-09-17 00:42:17 -0600 |
commit | dd848631cb96f7d25270faeee4c9736577230a29 (patch) | |
tree | 74e58b6378972ec36458a95164517f54122d7229 /gdb/python/python.h | |
parent | 1a3389079dd5c93419846f44d42027a526ce19cf (diff) | |
download | binutils-dd848631cb96f7d25270faeee4c9736577230a29.zip binutils-dd848631cb96f7d25270faeee4c9736577230a29.tar.gz binutils-dd848631cb96f7d25270faeee4c9736577230a29.tar.bz2 |
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.
Diffstat (limited to 'gdb/python/python.h')
0 files changed, 0 insertions, 0 deletions