From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122871 invoked by alias); 24 Nov 2017 23:00:24 -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 122706 invoked by uid 89); 24 Nov 2017 23:00:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KB_WAM_FROM_NAME_SINGLEWORD,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=sourcing X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 24 Nov 2017 23:00:04 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DABEA1A4076; Fri, 24 Nov 2017 23:00:02 +0000 (UTC) Received: from [127.0.0.1] (ovpn04.gateway.prod.ext.ams2.redhat.com [10.39.146.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 907854B1; Fri, 24 Nov 2017 23:00:01 +0000 (UTC) Subject: Re: [RFA/doco] (Ada) provide the exception message when hitting an exception catchpoint To: Joel Brobecker , gdb-patches@sourceware.org References: <1510953646-116765-1-git-send-email-brobecker@adacore.com> Cc: Xavier Roirand From: Pedro Alves Message-ID: <3f9c312c-deba-f6b1-838e-d0cddf244752@redhat.com> Date: Fri, 24 Nov 2017 23:00:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1510953646-116765-1-git-send-email-brobecker@adacore.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2017-11/txt/msg00636.txt.bz2 Hi Joel, I run the testsuite now to get a fresh baseline, and noticed this regression compared to a gdb build from a couple weeks ago: -PASS: gdb.ada/mi_catch_ex.exp: continue until CE caught by all-exceptions catchpoint -PASS: gdb.ada/mi_catch_ex.exp: continue until PE caught by all-exceptions catchpoint -PASS: gdb.ada/mi_catch_ex.exp: breakpoint at main -PASS: gdb.ada/mi_catch_ex.exp: mi runto main -PASS: gdb.ada/mi_catch_ex.exp: catch Program_Error -PASS: gdb.ada/mi_catch_ex.exp: catch assert failures -PASS: gdb.ada/mi_catch_ex.exp: catch unhandled exceptions -PASS: gdb.ada/mi_catch_ex.exp: continue to exception catchpoint hit -PASS: gdb.ada/mi_catch_ex.exp: continue to assert failure catchpoint hit -PASS: gdb.ada/mi_catch_ex.exp: continue to unhandled exception catchpoint hit +ERROR: tcl error sourcing /home/pedro/gdb/src/gdb/testsuite/gdb.ada/mi_catch_ex.exp. +ERROR: can't read "exception_name(",exception-message="foo\.adb:[0-9]+ explicit raise)": variable isn't array + while executing +"mi_expect_stop "breakpoint-hit\",disp=\"keep\",bkptno=\"$any_nb\",exception-name=\"$exception_name(\",exception-message=\"$exception_message)?" "foo..." + (procedure "continue_to_exception" line 17) + invoked from within +"continue_to_exception \ + "CONSTRAINT_ERROR" "foo\\.adb:$decimal explicit raise" \ + "continue until CE caught by all-exceptions catchpoint"" + (file "/home/pedro/gdb/src/gdb/testsuite/gdb.ada/mi_catch_ex.exp" line 106) + invoked from within +"source /home/pedro/gdb/src/gdb/testsuite/gdb.ada/mi_catch_ex.exp" + ("uplevel" body line 1) + invoked from within +"uplevel #0 source /home/pedro/gdb/src/gdb/testsuite/gdb.ada/mi_catch_ex.exp" + invoked from within +"catch "uplevel #0 source $test_file_name"" Thanks, Pedro Alves