aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-valprint.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2005-04-29 00:04:06 +0000
committerJim Blandy <jimb@codesourcery.com>2005-04-29 00:04:06 +0000
commit3a913e29dfa9128cc6642c0380a753e5cf4aab61 (patch)
tree2aad3320b77a77cc2ebc830fd0b1e867ed5c5548 /gdb/cp-valprint.c
parent85b1c36d3172747a7587cbae0f5db46de2bffcd6 (diff)
downloadgdb-3a913e29dfa9128cc6642c0380a753e5cf4aab61.zip
gdb-3a913e29dfa9128cc6642c0380a753e5cf4aab61.tar.gz
gdb-3a913e29dfa9128cc6642c0380a753e5cf4aab61.tar.bz2
* parse.c (namecopy): Change allocation conventions.
(namecopy_size): New variable. (copy_name): Allocate namecopy using xrealloc, instead of assuming it has adequate space allocated to it. (parse_exp_1): Don't try to allocate space for namecopy here.
Diffstat (limited to 'gdb/cp-valprint.c')
0 files changed, 0 insertions, 0 deletions