This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] [python] Add two different initialization checks for frame filters
- From: Phil Muldoon <pmuldoon at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 29 Aug 2013 10:27:38 +0100
- Subject: Re: [patch] [python] Add two different initialization checks for frame filters
- Authentication-results: sourceware.org; auth=none
- References: <51F635C8 dot 70602 at redhat dot com> <87vc3tns6m dot fsf at fleche dot redhat dot com> <520DEDE6 dot 1030807 at redhat dot com> <87eh9tn2fb dot fsf at fleche dot redhat dot com>
On 16/08/13 15:19, Tom Tromey wrote:
>>>>>> "Phil" == Phil Muldoon <pmuldoon@redhat.com> writes:
>
> Phil> I try to keep exits that are not simple (i.e., clear and print
> Phil> exceptions, clean-ups, etc) in the same area in a function. But I
> Phil> don't have strong arguments for it, so I regenerated the patch.
> Phil> ChangeLog remains the same. Is this OK to commit?
>
> Ok. Thanks Phil.
>
> Tom
>
Committed with the modified ChangeLog entry:
2013-08-29 Phil Muldoon <pmuldoon@redhat.com>
PR python/15752
* python/py-framefilter.c (apply_frame_filter): Check
gdb_python_initialized. Exit if the Python frame-filter code
cannot be initialized.