From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2971 invoked by alias); 4 Jan 2007 20:24:13 -0000 Received: (qmail 2960 invoked by uid 22791); 4 Jan 2007 20:24:13 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 04 Jan 2007 20:24:08 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H2Z8A-0006wP-Ff; Thu, 04 Jan 2007 15:24:06 -0500 Date: Thu, 04 Jan 2007 20:24:00 -0000 From: Daniel Jacobowitz To: gdb@sourceware.org, Joel Brobecker Subject: New Ada failure Message-ID: <20070104202406.GA26522@nevyn.them.org> Mail-Followup-To: gdb@sourceware.org, Joel Brobecker MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) 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-01/txt/msg00063.txt.bz2 Breakpoint 1, main (argc=1, argv=140737488347304, envp=140737488347320) at b~foo.adb:99 99 Ensure_Reference : System.Address := Ada_Main_Program_Name'Address; (gdb) catch exception Cannot break on __gnat_raise_nodefer_with_msg in this configuration. The symbol is present, in my shared libgnat.so. I have a stripped libgnat, unsurprisingly. I think the problem is that you're using lookup_symbol; isn't lookup_minimal_symbol sufficient? -- Daniel Jacobowitz CodeSourcery