This is the mail archive of the
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 <firstname.lastname@example.org> 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.
Cherry-picked-in as: 74200760800432ef70cb3a703f764ac628247a2d