2007-08-21 Chris Smith <chris.smith@st.com>
authorDaniel Jacobowitz <drow@false.org>
Tue, 21 Aug 2007 13:35:00 +0000 (13:35 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 21 Aug 2007 13:35:00 +0000 (13:35 +0000)
* cli/cli-script.c (read_command_lines): Call dont_repeat for each
line.

gdb/ChangeLog
gdb/cli/cli-script.c

index 3ae01312c6814b7b8cd2547d75efc1b6526e0b4c..2d54bedd21206d28e09d61a9d41feca5d498b008 100644 (file)
@@ -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.
index 59160081869815f4a0ff4f5c33f0fd55cf70b4a0..503ce31b131d8ba65c0df50de7221fb9f95a6817 100644 (file)
@@ -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.  */