diff options
author | Fred Fish <fnf@specifix.com> | 1992-11-25 15:46:57 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-11-25 15:46:57 +0000 |
commit | d1065385c1e546fda6cabb8030207b5e108b6e8f (patch) | |
tree | 4482287d25674afc72f736c022470d6264987c49 /gdb/ChangeLog | |
parent | 4a29041a3aec557e265ade035ca4f2e60113c80d (diff) | |
download | gdb-d1065385c1e546fda6cabb8030207b5e108b6e8f.zip gdb-d1065385c1e546fda6cabb8030207b5e108b6e8f.tar.gz gdb-d1065385c1e546fda6cabb8030207b5e108b6e8f.tar.bz2 |
* parse.c (write_exp_string): Complete rewrite to store string
contants as a leading explicit length, followed by the string data,
followed by a trailing explicit length.
* eval.c (evaluate_subexp), expprint.c (print_subexp),
parse.c (length_of_subexp), parse.c (prefixify_subexp):
Use recorded explicit length of strings in expression elements,
rather than strlen. Adjust code to skip over strings stored in
expression elements, and code to access strings, to account for
new leading explicit size expression element.
* parse.c (length_of_subexp): Test for minimum endpos of 1, not
0, to avoid negative expression element indices.
* valops.c (search_struct_method): Minor whitespace change.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3ecc175..e3c58f7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,18 @@ +Wed Nov 25 07:17:13 1992 Fred Fish (fnf@cygnus.com) + + * parse.c (write_exp_string): Complete rewrite to store string + contants as a leading explicit length, followed by the string data, + followed by a trailing explicit length. + * eval.c (evaluate_subexp), expprint.c (print_subexp), + parse.c (length_of_subexp), parse.c (prefixify_subexp): + Use recorded explicit length of strings in expression elements, + rather than strlen. Adjust code to skip over strings stored in + expression elements, and code to access strings, to account for + new leading explicit size expression element. + * parse.c (length_of_subexp): Test for minimum endpos of 1, not + 0, to avoid negative expression element indices. + * valops.c (search_struct_method): Minor whitespace change. + Mon Nov 23 11:14:15 1992 Fred Fish (fnf@cygnus.com) * c-exp.y (yylex): Add tempbuf, tempbufindex, and tempbufsize, |