OSDN Git Service

* macrotab.h (new_macro_table): Document that removing information
authorJim Blandy <jimb@codesourcery.com>
Sat, 22 Sep 2007 01:09:19 +0000 (01:09 +0000)
committerJim Blandy <jimb@codesourcery.com>
Sat, 22 Sep 2007 01:09:19 +0000 (01:09 +0000)
commitdb3c3b206dbb6841f8b39eacc2ccea3bc1500497
tree0f9ef08a69a92c237ab25900efdc6bbff5b5f110
parent252627e9a5ec1a6c07ac9db231dc6def124f97c4
* 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