This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] [patch] Code cleanup: Do not check symtab->FILENAME for NULL


On Mon, 17 Dec 2012 14:54:37 +0100, Jan Kratochvil wrote:
> gdb/
> 2012-12-17  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.

Checked in:
	http://sourceware.org/ml/gdb-cvs/2012-12/msg00181.html


Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]