From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10752 invoked by alias); 4 Jun 2007 16:06:28 -0000 Received: (qmail 10743 invoked by uid 22791); 4 Jun 2007 16:06:28 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 04 Jun 2007 16:06:26 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 62922982E3; Mon, 4 Jun 2007 16:06:24 +0000 (GMT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by nan.false.org (Postfix) with ESMTP id 15499982E2; Mon, 4 Jun 2007 16:06:24 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1HvF4C-0002PE-Nh; Mon, 04 Jun 2007 12:06:00 -0400 Date: Mon, 04 Jun 2007 16:06:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb@sourceware.org Subject: Re: More "catch assert" Ada failures Message-ID: <20070604160600.GA8815@caradoc.them.org> Mail-Followup-To: Joel Brobecker , gdb@sourceware.org References: <20070604130204.GA31142@caradoc.them.org> <20070604155009.GF3761@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070604155009.GF3761@adacore.com> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00033.txt.bz2 On Mon, Jun 04, 2007 at 08:50:09AM -0700, Joel Brobecker wrote: > > Debian now has a libgnat-4.1-dbg package which includes complete > > debugging information for libgnat; this should let GDB handle > > exception and assertion catchpoints. A couple of the tests fail > > though: > > > > Unable to break on 'system__assertions__raise_assert_failure' in this > > configuration. > > I indeed see some FAILs on that test, but ldd reports that the program > is still linked against libgnat-4.1.so.1, not the one installed in > /usr/lib/debug/usr/lib. I tried setting up symbolic links from one to > the other, but then the compiler crashes. Did you run the testsuite > with some specific switches? You need to configure with --prefix=/usr, and then GDB will pick up files in /usr/lib/debug automatically. I get: FAIL: gdb.ada/catch_ex.exp: insert catchpoint on failed assertions FAIL: gdb.ada/catch_ex.exp: info break, second run FAIL: gdb.ada/catch_ex.exp: continuing to failed assertion FAIL: gdb.ada/catch_ex.exp: continuing to unhandled exception (the program exited) FAIL: gdb.ada/catch_ex.exp: continuing to program completion (the program is no longer running) Without that I get twelve failures and no passes. -- Daniel Jacobowitz CodeSourcery