aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlnk960.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-11-25 15:46:57 +0000
committerFred Fish <fnf@specifix.com>1992-11-25 15:46:57 +0000
commitd1065385c1e546fda6cabb8030207b5e108b6e8f (patch)
tree4482287d25674afc72f736c022470d6264987c49 /ld/ldlnk960.c
parent4a29041a3aec557e265ade035ca4f2e60113c80d (diff)
downloadgdb-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 'ld/ldlnk960.c')
0 files changed, 0 insertions, 0 deletions