aboutsummaryrefslogtreecommitdiff
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/breakpoint.c
parentUpdate printed copyright. (diff)
downloadbinutils-gdb-b02eeafb146d5938518304f2b29697ed3c53f82d.tar.gz
binutils-gdb-b02eeafb146d5938518304f2b29697ed3c53f82d.tar.bz2
binutils-gdb-b02eeafb146d5938518304f2b29697ed3c53f82d.zip
Use make_cleanup_ui_out_stream_delete().
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 89b15909a71..98bd2367a88 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -1939,7 +1939,7 @@ print_it_typical (bs)
struct cleanup *old_chain;
struct ui_stream *stb;
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 */
/* bs->breakpoint_at can be NULL if it was a momentary breakpoint
which has since been deleted. */
@@ -4458,7 +4458,7 @@ mention (b)
struct ui_stream *stb;
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 */
/* FIXME: This is misplaced; mention() is called by things (like hitting a