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 19590f4..8a96828 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -656,7 +656,7 @@ execute_gdb_command (PyObject *self, PyObject *args, PyObject *kw) make_cleanup_restore_ui_out (¤t_uiout); /* Use the console interpreter uiout to have the same print format for console or MI. */ - interp = interp_lookup ("console"); + interp = interp_lookup (current_ui, "console"); current_uiout = interp_ui_out (interp); prevent_dont_repeat (); |