Memory and gdb
Tim Combs
tcombs@urbana.css.mot.com
Fri Sep 7 09:10:00 GMT 2001
I have memory management questions. I thought the way to allocate
memory in gdb was with xmalloc and to free it was xfree. (At least
that's what the internals document says). But when I grep through
the source, I can find xmalloc but no xfree. When I try to link
I get xfree multiply defined. It seems to be found in readline and
in utils.c. What's the proper way to free memory?
Tim
Tim.Combs@motorola.com
More information about the Gdb
mailing list