OSDN Git Service

* macrotab.h (new_macro_table): Document that removing information
authorjimb <jimb>
Sat, 22 Sep 2007 01:09:18 +0000 (01:09 +0000)
committerjimb <jimb>
Sat, 22 Sep 2007 01:09:18 +0000 (01:09 +0000)
commit643367fce26737f77b9e3f0f1e964f79fb7a070e
tree248bffc032fe93c35e455d95e170677e8117b37b
parent63a14e077a6db6483788c32e675c2a48909d5273
* 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.
gdb/ChangeLog
gdb/macrotab.c
gdb/macrotab.h