aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/cli/cli-script.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3ae0131..2d54bed 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-21 Chris Smith <chris.smith@st.com>
+
+ * cli/cli-script.c (read_command_lines): Call dont_repeat for each
+ line.
+
2007-08-18 Michael Snyder <msnyder@svkmacdonelllnx>
* stabsread.c (dbx_lookup_type): Memory leak.
diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c
index 5916008..503ce31 100644
--- a/gdb/cli/cli-script.c
+++ b/gdb/cli/cli-script.c
@@ -1067,6 +1067,7 @@ read_command_lines (char *prompt_arg, int from_tty)
while (1)
{
+ dont_repeat ();
val = read_next_line (&next);
/* Ignore blank lines or comments. */