aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index eec246d..eb2d0f4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,23 @@
+2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * top.h (saved_command_line): Remove declaration.
+ * top.c (previous_saved_command_line, previous_repeat_arguments):
+ New variables.
+ (saved_command_line): Make static, define together with other
+ 'repeat variables'.
+ (dont_repeat): Clear repeat_arguments.
+ (repeat_previous, get_saved_command_line, save_command_line):
+ New functions.
+ (gdb_init): Initialize saved_command_line
+ and previous_saved_command_line.
+ * main.c (captured_main_1): Remove saved_command_line initialization.
+ * event-top.c (handle_line_of_input): Update to use
+ the new 'repeat' related functions instead of direct access to
+ saved_command_line.
+ * command.h (repeat_previous, get_saved_command_line,
+ save_command_line): New declarations.
+ (dont_repeat): Add comment.
+
2019-05-30 Tom Tromey <tromey@adacore.com>
* gdbtypes.h (struct range_bounds) <flag_upper_bound_is_count>: