* parse.c (write_exp_string): Complete rewrite to store string
authorFred Fish <fnf@specifix.com>
Wed, 25 Nov 1992 15:46:57 +0000 (15:46 +0000)
committerFred Fish <fnf@specifix.com>
Wed, 25 Nov 1992 15:46:57 +0000 (15:46 +0000)
commitd1065385c1e546fda6cabb8030207b5e108b6e8f
tree4482287d25674afc72f736c022470d6264987c49
parent4a29041a3aec557e265ade035ca4f2e60113c80d
* 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.
gdb/ChangeLog
gdb/parse.c
This page took 0.02525 seconds and 4 git commands to generate.