aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
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 /gdb/cli
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.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-script.c1
1 files changed, 1 insertions, 0 deletions
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. */