From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 818 invoked by alias); 20 Feb 2013 21:56:55 -0000 Received: (qmail 795 invoked by uid 48); 20 Feb 2013 21:56:53 -0000 From: "tromey at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug c++/9599] catch catch and catch throw restore control of the inferior inside libstd exception handler and throw code. Date: Wed, 20 Feb 2013 21:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tromey at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2013-q1/txt/msg00276.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=9599 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at redhat dot com --- Comment #1 from Tom Tromey 2013-02-20 21:56:52 UTC --- I don't think there is a very good way to do this directly, but it could be faked by installing a frame filter that notices that the newest frame is __cxa_begin_catch and that the PC is where "catch catch" placed it. Then, the filter can simply elide the first frame. However, this would yield somewhat strange results. First, it isn't clear whether a frame filter can actually elide the first frame. Second, this would yield a situation where "bt" would report the selected frame as the user's code, but where the actual selected frame would be in libstdc++; so things like "info locals" would fail. I think that fixing this requires the next step of frame filters, namely integration with frame selection. -- 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.