Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: RFC: fix atexit.register
Date: Thu, 06 Sep 2012 16:13:00 -0000	[thread overview]
Message-ID: <83d31zceod.fsf@gnu.org> (raw)
In-Reply-To: <87d31znom9.fsf@fleche.redhat.com>

> From: Tom Tromey <tromey@redhat.com>
> Date: Thu, 06 Sep 2012 09:43:26 -0600
> 
> A user on irc reported that Python's atexit.register did not work
> properly in gdb.
> 
> This patch fixes the problem by installing a final cleanup that calls
> Py_Finalize.
> 
> Regression tested on x86-64 F16.
> New test case included.
> 
> Tom
> 
> 	* NEWS: Update.
> 	* python/python.c (finalize_python): New function.
> 	(_initialize_python): Make a final cleanup.
> 
> 	* gdb.python/python.exp: Test atexit.register.

OK for the NEWS part.

Thanks.


  reply	other threads:[~2012-09-06 16:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-06 15:43 Tom Tromey
2012-09-06 16:13 ` Eli Zaretskii [this message]
2012-09-10 19:40 ` Tom Tromey
2012-09-10 19:52   ` Eli Zaretskii
2012-09-20 20:46   ` Tom Tromey
2012-09-21  7:05     ` Regression for build --without-python [Re: RFC: fix atexit.register] Jan Kratochvil
2012-11-29 19:13   ` [commit] Fix !HAVE_THREAD Python build error (Re: RFC: fix atexit.register) Ulrich Weigand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83d31zceod.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox