This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/12119] push_frame_filter doesn't close overframe_filter, which will lead to infinite recursion with multiple filters
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 6 Jan 2011 21:27:15 +0000
- Subject: [Bug python/12119] push_frame_filter doesn't close overframe_filter, which will lead to infinite recursion with multiple filters
- Auto-submitted: auto-generated
- References: <bug-12119-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12119
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at redhat dot com
--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2011-01-06 21:26:59 UTC ---
Could you try this and verify that it works?
@@ -32,7 +32,7 @@ an iterator returning such objects."""
if frame_filter == None:
frame_filter = constructor
else:
- frame_filter = lambda iterator: constructor (frame_filter (iterator))
+ frame_filter = lambda iterator, filter = frame_filter: constructor
(filter (iterator))
def create_frame_filter (iter):
global frame_filter
Note also that we are going to rewrite this code.
It has some design flaws as-is.
We'll be sure to send a note to the Archer list when this gets underway.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.