From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31396 invoked by alias); 17 Apr 2014 10:15:32 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 31373 invoked by uid 89); 17 Apr 2014 10:15:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-gw2-out.broadcom.com Received: from mail-gw2-out.broadcom.com (HELO mail-gw2-out.broadcom.com) (216.31.210.63) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 17 Apr 2014 10:15:30 +0000 Received: from irvexchcas06.broadcom.com (HELO IRVEXCHCAS06.corp.ad.broadcom.com) ([10.9.208.53]) by mail-gw2-out.broadcom.com with ESMTP; 17 Apr 2014 03:38:52 -0700 Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS06.corp.ad.broadcom.com (10.9.208.53) with Microsoft SMTP Server (TLS) id 14.3.174.1; Thu, 17 Apr 2014 03:15:29 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) with Microsoft SMTP Server id 14.3.174.1; Thu, 17 Apr 2014 03:15:29 -0700 Received: from xl-cam-21.broadcom.com (xl-cam-21.cam.broadcom.com [10.177.132.81]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id B66CEEAD4C; Thu, 17 Apr 2014 03:15:28 -0700 (PDT) Received: by xl-cam-21.broadcom.com (Postfix, from userid 15136) id 0B8012CE899D; Thu, 17 Apr 2014 11:15:28 +0100 (BST) From: Andrew Burgess To: CC: Andrew Burgess Subject: [PATCH v2 0/4] Catch errors in get_prev_frame. Date: Thu, 17 Apr 2014 10:15:00 -0000 Message-ID: <1397729716-8985-1-git-send-email-aburgess@broadcom.com> In-Reply-To: <533EC5B7.6080600@broadcom.com> References: <533EC5B7.6080600@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2014-04/txt/msg00347.txt.bz2 Seems I messed up the last patch series quite a bit, so this time I'm trying out git send-email. Sorry for the noise, please let me know if it still looks broken. Nothing has changed here except, I hope, the patches should be well formed. Thanks, Andrew Andrew Burgess (4): New test for backtrace when the stack pointer is invalid (inaccessible). Remove previous frame if an error occurs when computing frame id during unwind. Deprecate frame_stop_reason_string. Add a TRY_CATCH to get_prev_frame to better handle errors during unwind. gdb/frame.c | 123 +- gdb/frame.h | 11 +- gdb/guile/scm-frame.c | 2 +- gdb/python/py-frame.c | 2 +- gdb/stack.c | 4 +- .../gdb.arch/amd64-invalid-stack-middle.S | 1410 ++++++++++++++++++++ .../gdb.arch/amd64-invalid-stack-middle.c | 89 ++ .../gdb.arch/amd64-invalid-stack-middle.exp | 78 ++ gdb/testsuite/gdb.arch/amd64-invalid-stack-top.c | 73 + gdb/testsuite/gdb.arch/amd64-invalid-stack-top.exp | 81 ++ gdb/unwind_stop_reasons.def | 5 +- 11 files changed, 1850 insertions(+), 28 deletions(-) create mode 100644 gdb/testsuite/gdb.arch/amd64-invalid-stack-middle.S create mode 100644 gdb/testsuite/gdb.arch/amd64-invalid-stack-middle.c create mode 100644 gdb/testsuite/gdb.arch/amd64-invalid-stack-middle.exp create mode 100644 gdb/testsuite/gdb.arch/amd64-invalid-stack-top.c create mode 100644 gdb/testsuite/gdb.arch/amd64-invalid-stack-top.exp -- 1.8.1.3