aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-05-15 03:16:15 +0000
committerAndrew Cagney <cagney@redhat.com>2000-05-15 03:16:15 +0000
commitb02eeafb146d5938518304f2b29697ed3c53f82d (patch)
tree963565e55c99f28b16ed6a7b3fcaf27b3d209ad5 /gdb/stack.c
parentc2f1343c8b32713ccf65984725f6b170cddb884f (diff)
downloadgdb-b02eeafb146d5938518304f2b29697ed3c53f82d.zip
gdb-b02eeafb146d5938518304f2b29697ed3c53f82d.tar.gz
gdb-b02eeafb146d5938518304f2b29697ed3c53f82d.tar.bz2
Use make_cleanup_ui_out_stream_delete().
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index 8684b7b..afa6041 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -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);