gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 22 Sep 2010 20:00:53 +0000 (20:00 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 22 Sep 2010 20:00:53 +0000 (20:00 +0000)
commitd31d2fc374b0523049655a0038cbdf1b43827edf
tree79ce4936223decea6d217e46548131755d639b3d
parent7f6130ff859e3676d0d27a3db5a42c0233dd93ec
gdb/
Code cleanup.
* objfiles.c (allocate_objfile) <objfile->name != NULL>: Remove.
(free_objfile) <objfile->name != NULL>: Remove the conditional around
xfree.
* objfiles.h (struct objfile) <name>: New comment it is never NULL.
* python/py-auto-load.c (auto_load_new_objfile) <!objfile->name>:
Remove.
* python/py-objfile.c (objfpy_get_filename) <obj->objfile->name>
Remove the conditional.
* python/py-progspace.c (pspy_get_filename) <objfile->name>: Likewise.
gdb/ChangeLog
gdb/objfiles.c
gdb/objfiles.h
gdb/python/py-auto-load.c
gdb/python/py-objfile.c
gdb/python/py-progspace.c