aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2009-08-03 12:26:37 +0000
committerVladimir Prus <vladimir@codesourcery.com>2009-08-03 12:26:37 +0000
commit3c1179ff511933179e64e854ac7b39c8003d9868 (patch)
treef373d634eb477f3cfa4e49e198be1409bfef75b3 /gdb/ChangeLog
parenta877a2b69dc03c6e3cbc75def32d3ceb31594f16 (diff)
downloadgdb-3c1179ff511933179e64e854ac7b39c8003d9868.zip
gdb-3c1179ff511933179e64e854ac7b39c8003d9868.tar.gz
gdb-3c1179ff511933179e64e854ac7b39c8003d9868.tar.bz2
Refactor reading of commands
* defs.h (read_command_lines_1): Declare. * cli/cli-script.c (read_next_line): Only return string, do not process. (process_next_line): New, extracted from read_next_line. (recurse_read_control_structure): Take a function pointer to the read function. (get_command_line) Pass the read_next_line as reader function into recurse_read_control_structure. (read_command_lines_1): New, extracted from... (read_command_lines): ...here.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a84b9b0..57b8b9e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,19 @@
+2009-08-03 Jim Ingham <jingham@apple.com>
+ Vladimir Prus <vladimir@codesourcery.com>
+
+ Refactor reading of commands
+
+ * defs.h (read_command_lines_1): Declare.
+ * cli/cli-script.c (read_next_line): Only return string,
+ do not process.
+ (process_next_line): New, extracted from read_next_line.
+ (recurse_read_control_structure): Take a function pointer to the
+ read function.
+ (get_command_line) Pass the read_next_line as reader function
+ into recurse_read_control_structure.
+ (read_command_lines_1): New, extracted from...
+ (read_command_lines): ...here.
+
2009-07-31 Kazu Hirata <kazu@codesourcery.com>
* procfs.c (proc_set_current_signal): Populate mysinfo before