* bfd-target.c (target_bfd_xclose): Only close the bfd if the
authorPedro Alves <palves@redhat.com>
Tue, 28 Jul 2009 15:05:01 +0000 (15:05 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 28 Jul 2009 15:05:01 +0000 (15:05 +0000)
commite12af5a2d1eda2e448b279ac97eb635b4a29eef1
tree1eee4c6ab788b44f1dd111cde965452fd3d295f3
parent745a434e1500a955d8d5d4f0a7173b68d33a764e
* bfd-target.c (target_bfd_xclose): Only close the bfd if the
section tarble is not empty.
(target_bfd_reopen): If the section table ends up empty, close the
bfd here.
gdb/ChangeLog
gdb/bfd-target.c