gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 19 Mar 2012 18:23:52 +0000 (18:23 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 19 Mar 2012 18:23:52 +0000 (18:23 +0000)
commite97a38f76e90bf0cb06ce6a0459be7a488bf6816
treefa5d2a71f70e3125d31e5b72b7fb2715a13a5e9a
parent8320cc4fa3784dc5296745898de5357559f8125a
gdb/
Code cleanup.
* python/py-auto-load.c (source_section_scripts): New variable back_to.
Turn fclose and xfree calls into make_cleanup_fclose and make_cleanup
with xfree.
(auto_load_objfile_script): Turn fclose into make_cleanup_fclose.
gdb/ChangeLog
gdb/python/py-auto-load.c