Use make_cleanup_ui_out_stream_delete().
This commit is contained in:
parent
c2f1343c8b
commit
b02eeafb14
5 changed files with 11 additions and 5 deletions
|
@ -471,7 +471,7 @@ print_frame (struct frame_info *fi,
|
|||
struct cleanup *old_chain;
|
||||
|
||||
stb = ui_out_stream_new (uiout);
|
||||
old_chain = make_cleanup ((make_cleanup_func) ui_out_stream_delete, stb);
|
||||
old_chain = make_cleanup_ui_out_stream_delete (stb);
|
||||
#endif /* UI_OUT */
|
||||
|
||||
func = find_pc_function (fi->pc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue