diff options
author | Tom Tromey <tromey@redhat.com> | 2011-04-04 15:19:59 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-04-04 15:19:59 +0000 |
commit | 00174a8637c5c42b77b190c38b1afa94c4c14517 (patch) | |
tree | e15de61016caa1be91047423ceeff6cd9031e94e /gdb/ChangeLog | |
parent | 30cc903e7cd4678ec556d5386be55c3c726b6a27 (diff) | |
download | gdb-00174a8637c5c42b77b190c38b1afa94c4c14517.zip gdb-00174a8637c5c42b77b190c38b1afa94c4c14517.tar.gz gdb-00174a8637c5c42b77b190c38b1afa94c4c14517.tar.bz2 |
* symtab.h (free_symtab): Remove.
(forget_cached_source_info_for_objfile): Declare.
* symmisc.c (free_symtab): Remove.
* source.c (forget_cached_source_info_for_objfile): New function.
(forget_cached_source_info): Use it.
* objfiles.c (free_objfile): Simplify check before calling
clear_current_source_symtab_and_line. Call
forget_cached_source_info_for_objfile.
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 e044207..3ced718 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,16 @@ 2011-04-04 Tom Tromey <tromey@redhat.com> + * symtab.h (free_symtab): Remove. + (forget_cached_source_info_for_objfile): Declare. + * symmisc.c (free_symtab): Remove. + * source.c (forget_cached_source_info_for_objfile): New function. + (forget_cached_source_info): Use it. + * objfiles.c (free_objfile): Simplify check before calling + clear_current_source_symtab_and_line. Call + forget_cached_source_info_for_objfile. + +2011-04-04 Tom Tromey <tromey@redhat.com> + * mdebugread.c (psymtab_to_symtab_1): Copy linetable to obstack. (new_symtab): Don't set `free_code' on symtab. (new_linetable): Properly handle size==0. |