comp.lang.ada
 help / color / mirror / Atom feed
From: Jerry <lanceboyle@qwest.net>
Subject: Can't "catch exception" in gdb on OS X
Date: Fri, 4 Mar 2016 21:24:37 -0800 (PST)
Date: 2016-03-04T21:24:37-08:00	[thread overview]
Message-ID: <b7e2e028-7810-497d-b19c-9f92657e3c2b@googlegroups.com> (raw)

I'm on OS X 10.9.5 trying to debug a GNAT program. When I type

   catch exception

when the program is in the debugger but paused at the automatically inserted breakpoint at the first line, I get this:

    Cannot insert Ada exception catchpoints in this configuration.

gdb reports this:

    GNU gdb (GDB) 7.7 for GNAT GPL 2014 (20140405)
      .
      .
      .
    This GDB was configured as "x86_64-apple-darwin12.5.0".

Also (curse the line wraps),

(gdb) show configuration
This GDB was configured as follows:
   configure --host=x86_64-apple-darwin12.5.0 --target=x86_64-apple-darwin12.5.0
             --with-auto-load-dir=:${prefix}/share/auto-load
             --with-auto-load-safe-path=:${prefix}/share/auto-load
             --with-expat
             --with-gdb-datadir=/gnatmail/sandbox/gpl-2014/x86_64-darwin/gdb/pkg/share/gdb-7.7 (relocatable)
             --with-jit-reader-dir=/gnatmail/sandbox/gpl-2014/x86_64-darwin/gdb/pkg/lib/gdb (relocatable)
             --without-libunwind-ia64
             --without-lzma
             --with-python=/gnatmail/sandbox/gpl-2014/x86_64-darwin/gdb/pkg/share/gdb-7.7/python-2.7.3 (relocatable)
             --with-separate-debug-dir=/usr/lib/debug
             --without-zlib
             --without-babeltrace


Ideas?
Jerry


             reply	other threads:[~2016-03-05  5:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-05  5:24 Jerry [this message]
2016-03-05  8:30 ` Can't "catch exception" in gdb on OS X Simon Wright
2016-03-08  8:50   ` Jerry
2016-03-08 11:29     ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox