This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug ada/11385] New: cannot catch Ada exceptions
- From: "mark at advancedtechcorp dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 16 Mar 2010 14:28:31 -0000
- Subject: [Bug ada/11385] New: cannot catch Ada exceptions
- Reply-to: sourceware-bugzilla at sourceware dot org
I keep getting "cannot insert catchpoints in this configuration when debugging a
gnat program with gdb. Everything else works fine but not being able to trap on
an exception being raised is not very good.
ATI@ATI TOOLS]$ gdb fixfortran
GNU gdb (GDB) Fedora (7.0.1-33.fc12)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/ATI/DOTSBIR/Phase_II/SCOPE/CODE/TOOLS/fixfortran...done.
(gdb) break main
Breakpoint 1 at 0x8049d2d: file
/home/ATI/DOTSBIR/Phase_II/SCOPE/CODE/TOOLS/b~fixfortran.adb, line 198.
(gdb) run
Starting program: /home/ATI/DOTSBIR/Phase_II/SCOPE/CODE/TOOLS/fixfortran
Breakpoint 1, main (argc=1, argv=(system.address) 0xbffff184,
envp=(system.address) 0xbffff18c)
at /home/ATI/DOTSBIR/Phase_II/SCOPE/CODE/TOOLS/b~fixfortran.adb:198
198 Ensure_Reference : aliased System.Address :=
Ada_Main_Program_Name'Address;
(gdb) catch exception
Cannot insert catchpoints in this configuration.
(gdb)
--
Summary: cannot catch Ada exceptions
Product: gdb
Version: 7.0
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: ada
AssignedTo: unassigned at sourceware dot org
ReportedBy: mark at advancedtechcorp dot com
CC: gdb-prs at sourceware dot org
GCC build triplet: i686-redhat-linux-gnu
GCC host triplet: i686-redhat-linux-gnu
GCC target triplet: i686-redhat-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=11385
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.