diff options
author | Tom Tromey <tom@tromey.com> | 2017-04-28 22:59:24 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-08-03 07:59:01 -0600 |
commit | 31b68d4ad72ebb153e48e16c8d9edf3676a8af38 (patch) | |
tree | bb52dcb5e81a91b9fe15e17c8b421a453949ac03 /gdb/jit.c | |
parent | 2ec845e758762030f2333c21fa532fc57fe3762f (diff) | |
download | gdb-31b68d4ad72ebb153e48e16c8d9edf3676a8af38.zip gdb-31b68d4ad72ebb153e48e16c8d9edf3676a8af38.tar.gz gdb-31b68d4ad72ebb153e48e16c8d9edf3676a8af38.tar.bz2 |
Replace tui_restore_gdbout with scoped_restore
This patch replaces tui_restore_gdbout (a cleaup function) with a use
of scoped_restore. This one is broken out into its own patch because
it might slightly change the behavior of gdb: it saves and restores
pagination_enabled, whereas the tui_restore_gdbout unconditionally set
pagination_enabled to 1; and I think this warrants closer review.
ChangeLog
2017-08-03 Tom Tromey <tom@tromey.com>
* tui/tui-regs.c (tui_restore_gdbout): Remove.
(tui_register_format): Use scoped_restore.
Diffstat (limited to 'gdb/jit.c')
0 files changed, 0 insertions, 0 deletions