alloca() in gdbint.texi
Andrew Cagney
ac131313@cygnus.com
Wed Nov 29 17:52:00 GMT 2000
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
More information about the Gdb
mailing list