From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25908 invoked by alias); 14 Aug 2017 03:41:27 -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 4740 invoked by uid 89); 14 Aug 2017 03:40:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1217 X-HELO: gproxy8-pub.mail.unifiedlayer.com Received: from gproxy8-pub.mail.unifiedlayer.com (HELO gproxy8-pub.mail.unifiedlayer.com) (67.222.33.93) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 14 Aug 2017 03:40:44 +0000 Received: from CMOut01 (unknown [10.0.90.82]) by gproxy8.mail.unifiedlayer.com (Postfix) with ESMTP id 628831AB10A for ; Sun, 13 Aug 2017 21:40:43 -0600 (MDT) Received: from box522.bluehost.com ([74.220.219.122]) by CMOut01 with id wrgg1v0072f2jeq01rgjBB; Sun, 13 Aug 2017 21:40:43 -0600 X-Authority-Analysis: v=2.2 cv=FrR1xyjq c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=KeKAF7QvOSUA:10 a=zstS-IiYAAAA:8 a=UjZ1UblZWeUHeQglA5AA:9 a=4G6NA9xxw8l3yy4pmD5M:22 Received: from 75-166-24-97.hlrn.qwest.net ([75.166.24.97]:55932 helo=bapiya.Home) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1dh6F6-0025eE-5s; Sun, 13 Aug 2017 21:40:40 -0600 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [RFA v2 09/13] Return EXT_LANG_BT_ERROR in one more spot in py-framefilter.c Date: Mon, 14 Aug 2017 03:41:00 -0000 Message-Id: <20170814034030.20863-10-tom@tromey.com> In-Reply-To: <20170814034030.20863-1-tom@tromey.com> References: <20170814034030.20863-1-tom@tromey.com> X-BWhitelist: no X-Exim-ID: 1dh6F6-0025eE-5s X-Source-Sender: 75-166-24-97.hlrn.qwest.net (bapiya.Home) [75.166.24.97]:55932 X-Source-Auth: tom+tromey.com X-Email-Count: 10 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ== X-Local-Domain: yes X-SW-Source: 2017-08/txt/msg00278.txt.bz2 While reading py-framefilter.c, I found one spot where an exception could be caught but then not be turned into EXT_LANG_BT_ERROR. This patch fixes this spot. ChangeLog 2017-08-13 Tom Tromey * python/py-framefilter.c (py_print_single_arg): Return EXT_LANG_BT_ERROR from catch. --- gdb/ChangeLog | 5 +++++ gdb/python/py-framefilter.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 630e27b..e5aeb22 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2017-08-13 Tom Tromey + * python/py-framefilter.c (py_print_single_arg): Return + EXT_LANG_BT_ERROR from catch. + +2017-08-13 Tom Tromey + PR backtrace/15584: * stack.c (backtrace_command_1): Move some code into no-filters "if". diff --git a/gdb/python/py-framefilter.c b/gdb/python/py-framefilter.c index 76e637c..73f2a31 100644 --- a/gdb/python/py-framefilter.c +++ b/gdb/python/py-framefilter.c @@ -457,6 +457,7 @@ py_print_single_arg (struct ui_out *out, CATCH (except, RETURN_MASK_ERROR) { gdbpy_convert_exception (except); + retval = EXT_LANG_BT_ERROR; } END_CATCH -- 2.9.4