X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fpython%2Fpy-breakpoint.c;h=126957cf5bd65dbd0536318c3f168df72acebd2a;hb=79a45e254f090b628473614054ed318d70409239;hp=448c95db5117431364f188bb70e8ce8249b12679;hpb=f9679975a3374a650ce5ffc8a512b85d662bfcbf;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/python/py-breakpoint.c b/gdb/python/py-breakpoint.c index 448c95db51..126957cf5b 100644 --- a/gdb/python/py-breakpoint.c +++ b/gdb/python/py-breakpoint.c @@ -492,12 +492,12 @@ bppy_get_commands (PyObject *self, void *closure) string_file = mem_fileopen (); chain = make_cleanup_ui_file_delete (string_file); - ui_out_redirect (uiout, string_file); + ui_out_redirect (current_uiout, string_file); TRY_CATCH (except, RETURN_MASK_ALL) { - print_command_lines (uiout, breakpoint_commands (bp), 0); + print_command_lines (current_uiout, breakpoint_commands (bp), 0); } - ui_out_redirect (uiout, NULL); + ui_out_redirect (current_uiout, NULL); GDB_PY_HANDLE_EXCEPTION (except); cmdstr = ui_file_xstrdup (string_file, &length);