This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: [python] Fix infpy_read_memory cleanups handling
On Mon, 03 Aug 2009 19:31:01 +0200, Tom Tromey wrote:
> >>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
>
> Jan> It was crashing gdb.python/python-value.exp during a Fedora merge.
>
> Jan> * python/python-inferior.c (infpy_read_memory): No longer initialize
> Jan> cleanups to NULL, initialize it by null_cleanup later. Do not
> Jan> reinitialize null_cleanup by xfree make_cleanup. Call do_cleanups on
> Jan> any error exit path.
>
> Looks good, please push it to archer-tromey-python.
> Thanks.
Cherry-picked-in as: 74200760800432ef70cb3a703f764ac628247a2d
Thanks,
Jan