From f429d7d03d62ba2816db1701f3b4d6d49a93b36f Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 21 Aug 2007 13:35:00 +0000 Subject: [PATCH] 2007-08-21 Chris Smith * cli/cli-script.c (read_command_lines): Call dont_repeat for each line. --- gdb/ChangeLog | 5 +++++ gdb/cli/cli-script.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3ae01312c68..2d54bedd212 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2007-08-21 Chris Smith + + * cli/cli-script.c (read_command_lines): Call dont_repeat for each + line. + 2007-08-18 Michael Snyder * stabsread.c (dbx_lookup_type): Memory leak. diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index 59160081869..503ce31b131 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. */ -- 2.30.2