summaryrefslogtreecommitdiff
path: root/gdb/cli/cli-script.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/cli/cli-script.h')
-rw-r--r--gdb/cli/cli-script.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/cli/cli-script.h b/gdb/cli/cli-script.h
index f8604c6cb71..898e3cc04f8 100644
--- a/gdb/cli/cli-script.h
+++ b/gdb/cli/cli-script.h
@@ -41,6 +41,8 @@ extern enum command_control_type
extern void print_command_lines (struct ui_out *,
struct command_line *, unsigned int);
+extern struct command_line * copy_command_lines (struct command_line *cmds);
+
/* Exported to gdb/infrun.c */
extern void execute_user_command (struct cmd_list_element *c, char *args);