diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-12-24 19:42:16 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-12-24 19:42:16 +0000 |
commit | 4e04028d9573bd2a145f2bff5d4b3de0b75c83f6 (patch) | |
tree | f32d3f2286ec7f36a9cc6cf18a10b17596eba5e1 /gdb/ChangeLog | |
parent | 858174054dbd9970d840c043aeb318f721fcf4fd (diff) | |
download | binutils-gdb-4e04028d9573bd2a145f2bff5d4b3de0b75c83f6.tar.gz |
gdb/
Code cleanup.
* dwarf2read.c (fixup_go_packaging): Do not check symtab->FILENAME for
NULL.
* linespec.c (add_sal_to_sals): Likewise.
* psympriv.h (allocate_psymtab): Add ATTRIBUTE_NONNULL.
* stack.c (print_frame): Do not check symtab->FILENAME for NULL.
* symfile.h (allocate_symtab): Add ATTRIBUTE_NONNULL.
* symtab.h (struct symtab): Add comment it is never NULL for filename.
* tracepoint.c (set_traceframe_context): Do not check symtab->FILENAME
for NULL.
* tui/tui-source.c (tui_set_source_content): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e4248dd541e..eb9cfdc9ae4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,19 @@ 2012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com> + Code cleanup. + * dwarf2read.c (fixup_go_packaging): Do not check symtab->FILENAME for + NULL. + * linespec.c (add_sal_to_sals): Likewise. + * psympriv.h (allocate_psymtab): Add ATTRIBUTE_NONNULL. + * stack.c (print_frame): Do not check symtab->FILENAME for NULL. + * symfile.h (allocate_symtab): Add ATTRIBUTE_NONNULL. + * symtab.h (struct symtab): Add comment it is never NULL for filename. + * tracepoint.c (set_traceframe_context): Do not check symtab->FILENAME + for NULL. + * tui/tui-source.c (tui_set_source_content): Likewise. + +2012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com> + * breakpoint.c (breakpoint_re_set): Remove the skip_re_set call. * infrun.c (handle_inferior_event): Rename the called function to function_name_is_marked_for_skip, pass it TMP_SAL. |