aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-08-21 13:35:00 +0000
committerDaniel Jacobowitz <drow@false.org>2007-08-21 13:35:00 +0000
commitf429d7d03d62ba2816db1701f3b4d6d49a93b36f (patch)
tree3350e055827a7616c45e74cd8e88685c88b3afad
parent2abc4e65ff96e26277c06ee457f7ff98cb2ebc6d (diff)
downloadgdb-f429d7d03d62ba2816db1701f3b4d6d49a93b36f.zip
gdb-f429d7d03d62ba2816db1701f3b4d6d49a93b36f.tar.gz
gdb-f429d7d03d62ba2816db1701f3b4d6d49a93b36f.tar.bz2
2007-08-21 Chris Smith <chris.smith@st.com>
* cli/cli-script.c (read_command_lines): Call dont_repeat for each line.
-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. */