From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 113207 invoked by alias); 27 Feb 2015 23:03:14 -0000 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 Received: (qmail 113182 invoked by uid 48); 27 Feb 2015 23:03:14 -0000 From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug backtrace/18057] New: no way for a jit frame id to fail Date: Fri, 27 Feb 2015 23:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: backtrace X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q1/txt/msg00337.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18057 Bug ID: 18057 Summary: no way for a jit frame id to fail Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: backtrace Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org Currently the jit get_frame_id callback must always succeed. However this is a bit of a pain because it may need to make calls into gdb which could fail. Currently I'm just ignoring any such possible error, but I think a better API might be to unify the unwind and get_frame_id methods, requiring unwind to compute a frame id if it succeeds. -- You are receiving this mail because: You are on the CC list for the bug.