diff options
author | Jim Blandy <jimb@codesourcery.com> | 2007-09-22 01:09:19 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2007-09-22 01:09:19 +0000 |
commit | 3262338673b7708c02bcdb04327720e133282c15 (patch) | |
tree | 01b6f71aa49398e357a6f2aaf93c94d3ead3a4d9 /gdb/ChangeLog | |
parent | 5aa6af59aff576d76c188aaa4aaf751a5baea02e (diff) | |
download | gdb-3262338673b7708c02bcdb04327720e133282c15.zip gdb-3262338673b7708c02bcdb04327720e133282c15.tar.gz gdb-3262338673b7708c02bcdb04327720e133282c15.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 814fc5e..4e03263 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,14 @@ +2007-09-21 Jim Blandy <jimb@codesourcery.com> + + * 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. + 2007-09-21 Joel Brobecker <brobecker@adacore.com> * symfile.h (struct sym_fns): Add new field sym_read_linetable. |