This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
alloca() in gdbint.texi
- To: Nick Duffek <nsd at cygnus dot com>,GDB Discussion <gdb at sourceware dot cygnus dot com>
- Subject: alloca() in gdbint.texi
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 30 Nov 2000 12:44:28 +1100
Nick,
Looks like the alloca() discussion has died down. If you're still
motivated then now is probably the time to go back through and come up
with a section explaining alloca() and its limitations.
My only thought is to make it part of a larger memory management section
vis:
Memmory Management
Malloc()
GDB uses xmalloc() and friends. Do not call malloc(), realloc(),
asprintf(), etc directly.
You can assume that xrealloc(NULL, size) is well behaved.
See also cleanups.
Alloca()
something goes here.
enjoy,
Andrew