This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [python] Fix infpy_read_memory cleanups handling


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> [ Not checked-in for archer-tromey-python.  ]
    
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.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]