* parse.c (namecopy): Change allocation conventions.
authorJim Blandy <jimb@codesourcery.com>
Fri, 29 Apr 2005 00:04:06 +0000 (00:04 +0000)
committerJim Blandy <jimb@codesourcery.com>
Fri, 29 Apr 2005 00:04:06 +0000 (00:04 +0000)
commit3a913e29dfa9128cc6642c0380a753e5cf4aab61
tree2aad3320b77a77cc2ebc830fd0b1e867ed5c5548
parent85b1c36d3172747a7587cbae0f5db46de2bffcd6
* 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.
gdb/ChangeLog
gdb/parse.c