From: Daniel Jacobowitz Date: Tue, 21 Aug 2007 13:35:00 +0000 (+0000) Subject: 2007-08-21 Chris Smith X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f429d7d03d62ba2816db1701f3b4d6d49a93b36f;p=binutils-gdb.git 2007-08-21 Chris Smith * cli/cli-script.c (read_command_lines): Call dont_repeat for each line. --- 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. */