aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index da04285..ec54658 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -83,6 +83,12 @@ get_current_printcmd_info ()
return *current_ui->curr_printcmd_info;
}
+void
+delete_current_printcmd_info (struct ui *ui)
+{
+ delete ui->curr_printcmd_info;
+}
+
/* Number of delay instructions following current disassembled insn. */
static int branch_delay_insns;