src/gdb ChangeLog macrotab.c macrotab.h

jimb@sourceware.org jimb@sourceware.org
Sat Sep 22 01:09:00 GMT 2007


CVSROOT:	/cvs/src
Module name:	src
Changes by:	jimb@sourceware.org	2007-09-22 01:09:19

Modified files:
	gdb            : ChangeLog macrotab.c macrotab.h 

Log message:
	* macrotab.h (new_macro_table): Document that removing information
	from an obstack/bcache-managed macro table leaks memory.
	* macrotab.c (macro_free, macro_bcache_free): Instead of asserting
	that data is never freed in obstack/bcache-managed macro tables,
	just leak the storage.
	(macro_undef): If we're undefining a macro at exactly the same
	source location that we defined it, simply remove the definition
	altogether.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.8701&r2=1.8702
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/macrotab.c.diff?cvsroot=src&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/macrotab.h.diff?cvsroot=src&r1=1.7&r2=1.8



More information about the Gdb-cvs mailing list