diff options
author | Jeff Law <law@redhat.com> | 1994-09-08 05:32:34 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-09-08 05:32:34 +0000 |
commit | e52bfe0cc4170ffc303dc9b2ace1e5c656ecbab2 (patch) | |
tree | b3c6e57011e99fd3000caa3b01b9c9f788a8640f /gdb/ChangeLog | |
parent | 20c9d49a4e3cfd136059b7c08acf2f16e50e3934 (diff) | |
download | gdb-e52bfe0cc4170ffc303dc9b2ace1e5c656ecbab2.zip gdb-e52bfe0cc4170ffc303dc9b2ace1e5c656ecbab2.tar.gz gdb-e52bfe0cc4170ffc303dc9b2ace1e5c656ecbab2.tar.bz2 |
* defs.h (enum misc_command_type, command_control_type): Enums
for describing the command and control types.
(struct command_line): Add new fields to keep track of the command
type and body associated with the command.
* top.c: Include value.h. Delete whitespace at the end of lines.
(build_command_line, get_command_line): New functions.
(execute_control_command, while_command, if_command): Likewise.
(realloc_body_list, read_next_line): Likewise.
(recurse_read_control_structure): Likewise.
(execute_user_command): Call execute_control_command.
(read_command_lines): Simplify by calling read_next_line, call
read_control_structure for "if" and "while" commands.
(free_command_lines): Free new fields in the command structure.
(define_command): Reset control_level to zero.
(init_main): Install command handlers for "if" and "while" commands.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5520f01..b9acd79 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,21 @@ +Wed Sep 7 23:24:50 1994 Jeff Law (law@snake.cs.utah.edu) + + * defs.h (enum misc_command_type, command_control_type): Enums + for describing the command and control types. + (struct command_line): Add new fields to keep track of the command + type and body associated with the command. + * top.c: Include value.h. Delete whitespace at the end of lines. + (build_command_line, get_command_line): New functions. + (execute_control_command, while_command, if_command): Likewise. + (realloc_body_list, read_next_line): Likewise. + (recurse_read_control_structure): Likewise. + (execute_user_command): Call execute_control_command. + (read_command_lines): Simplify by calling read_next_line, call + read_control_structure for "if" and "while" commands. + (free_command_lines): Free new fields in the command structure. + (define_command): Reset control_level to zero. + (init_main): Install command handlers for "if" and "while" commands. + Tue Sep 6 16:24:07 1994 Stan Shebs (shebs@andros.cygnus.com) * c-typeprint.c (c_type_print_varspec_prefix, |