From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19851 invoked by alias); 7 Dec 2011 15:14:31 -0000 Received: (qmail 19837 invoked by uid 22791); 7 Dec 2011 15:14:30 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,TW_DB X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 07 Dec 2011 15:14:17 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=EU1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1RYJCJ-0000Wf-4U from pedro_alves@mentor.com ; Wed, 07 Dec 2011 07:14:15 -0800 Received: from scottsdale.localnet ([172.30.7.53]) by EU1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 7 Dec 2011 15:14:13 +0000 From: Pedro Alves To: Joel Brobecker Subject: Re: [PATCH] gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp and unsupported catchpoints Date: Wed, 07 Dec 2011 15:29:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-13-generic; KDE/4.7.2; x86_64; ; ) Cc: gdb-patches@sourceware.org References: <201112061718.50031.pedro@codesourcery.com> <20111207100101.GC21915@adacore.com> In-Reply-To: <20111207100101.GC21915@adacore.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201112071514.11266.pedro@codesourcery.com> X-IsSubscribed: yes 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 X-SW-Source: 2011-12/txt/msg00228.txt.bz2 On Wednesday 07 December 2011 10:01:01, Joel Brobecker wrote: > > (gdb) catch exception > > Cannot insert catchpoints in this configuration. > > We're going to have to talk to the guys who decided to build the Ada > runtime without debugging info. The normal way to build the runtime > is no debug info *except* for a few files. This is really doing a > disservice to the users! This is plain gcc/gnat as shipped on Ubuntu 11.04. It may be that the idea is that since this is not necessary for backtracing, it's not crucial, and then one is expected to install some -dev or -dbg package to be able to fully debug Ada? But then again, I've installed all gnat related -dev and -dbg packagets I could find now, and I still get catchpoints unsupported. What library is supposed to have these symbols? > Grumble, grumble, grumble. Sorry. That's fine. :-) > > gdb/testsuite/ > > 2011-12-06 Pedro Alves > > > > * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception" > > throws "Cannot insert catchpoints in this configuration". > > * gdb.ada/mi_catch_ex.exp: Likewise. > > ... I think that this is a good stop-gap measure. It helps you, so > it's OK to go in. I'll cleanup afterwards anyways. Thanks for doing > that. Alright, I've checked it in now. Thanks! -- Pedro Alves