* 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)
commit3262338673b7708c02bcdb04327720e133282c15
tree01b6f71aa49398e357a6f2aaf93c94d3ead3a4d9
parent5aa6af59aff576d76c188aaa4aaf751a5baea02e
* 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