aboutsummaryrefslogtreecommitdiff
path: root/gdb/m32r-linux-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simark@simark.ca>2016-09-16 15:44:29 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2016-10-03 17:22:31 -0400
commit33de0b1741b1939dd5384e54a858e71d2029a365 (patch)
treeb9c64ceace2a8fa4d8c5341f16df1c1f593657f1 /gdb/m32r-linux-tdep.c
parentec55637a35d74522d4a1fbb65ed4137803ed9d64 (diff)
downloadgdb-33de0b1741b1939dd5384e54a858e71d2029a365.zip
gdb-33de0b1741b1939dd5384e54a858e71d2029a365.tar.gz
gdb-33de0b1741b1939dd5384e54a858e71d2029a365.tar.bz2
Introduce cleanup to restore current_uiout
Make a globally available cleanup from a pre-existing one in infrun.c. This is used in a following patch. gdb/ChangeLog: * infrun.c (restore_current_uiout_cleanup): Move to ui-out.c. (print_stop_event): Use make_cleanup_restore_current_uiout. * python/python.c (execute_gdb_command): Likewise. * ui-out.c (restore_current_uiout_cleanup): Move from infrun.c. (make_cleanup_restore_current_uiout): New function definition. * ui-out.h (make_cleanup_restore_current_uiout): New function declaration. * utils.c (do_restore_ui_out): Remove. (make_cleanup_restore_ui_out): Remove. * utils.h (make_cleanup_restore_ui_out): Remove.
Diffstat (limited to 'gdb/m32r-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions