]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ui-out.h
Introduce cleanup to restore current_uiout
[thirdparty/binutils-gdb.git] / gdb / ui-out.h
index 9e1e74dabc66b6bad4f912f633c2dcd1097f51e7..6a4d78a18e3e7e7798bb431019a206cd4d9fdd37 100644 (file)
@@ -247,4 +247,8 @@ extern void ui_out_destroy (struct ui_out *uiout);
 
 extern int ui_out_redirect (struct ui_out *uiout, struct ui_file *outstream);
 
+/* Make a cleanup that restores the previous current uiout.  */
+
+extern struct cleanup *make_cleanup_restore_current_uiout (void);
+
 #endif /* UI_OUT_H */