aboutsummaryrefslogtreecommitdiff
path: root/gdb/command.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/command.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/command.c')
-rw-r--r--gdb/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/command.c b/gdb/command.c
index 43f2a7e..d753d77 100644
--- a/gdb/command.c
+++ b/gdb/command.c
@@ -1723,7 +1723,7 @@ do_setshow_command (arg, from_tty, c)
int quote;
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 */
/* Print doc minus "show" at start. */