diff options
author | Jim Blandy <jimb@codesourcery.com> | 2005-04-29 00:04:06 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2005-04-29 00:04:06 +0000 |
commit | 3a913e29dfa9128cc6642c0380a753e5cf4aab61 (patch) | |
tree | 2aad3320b77a77cc2ebc830fd0b1e867ed5c5548 /gdb/cp-valprint.c | |
parent | 85b1c36d3172747a7587cbae0f5db46de2bffcd6 (diff) | |
download | gdb-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