This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Memory and gdb


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]