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]

alloca() in gdbint.texi


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

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