diff options
Diffstat (limited to 'gdb/python/python.c')
-rw-r--r-- | gdb/python/python.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/python.c b/gdb/python/python.c index e478ec9..d6bd6bf 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -648,7 +648,7 @@ execute_gdb_command (PyObject *self, PyObject *args, PyObject *kw) scoped_restore save_async = make_scoped_restore (¤t_ui->async, 0); - make_cleanup_restore_current_uiout (); + scoped_restore save_uiout = make_scoped_restore (¤t_uiout); /* Use the console interpreter uiout to have the same print format for console or MI. */ |