This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/15517] New: Debug Initialize is not setting catchpoint defined in .gbdinit file when GDB is invoked from inside GPS
- From: "eric.jackson2 at sikorsky dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 22 May 2013 19:44:58 +0000
- Subject: [Bug breakpoints/15517] New: Debug Initialize is not setting catchpoint defined in .gbdinit file when GDB is invoked from inside GPS
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15517
Bug #: 15517
Summary: Debug Initialize is not setting catchpoint defined in
.gbdinit file when GDB is invoked from inside GPS
Product: gdb
Version: 7.2
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
AssignedTo: unassigned@sourceware.org
ReportedBy: eric.jackson2@sikorsky.com
Classification: Unclassified
I am attempting to set a catchpoint on any unhandled Ada exception from the
.gdbinit file from inside GNAT Programming Studio (GPS)
Debug->Initialize->fms1, but the catchpoint is not inserted.
.gdbinit file contains:
set print pretty on
set print array
catch exception unhandled
When invoked from the command line, I get the following:
C:\SVN\Brunei-FSI\PCR-70I03-00295_ELJ2\fms_ofp\main\ofp_build\native>gdb fms1
GNU gdb (GDB) 7.2 for GNAT Pro 6.4.0w (20101002) [rev=gdb-7.2-ref-27-g9456108]
Copyright (C) 2010 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.
See your support agreement for details of warranty and support.
If you do not have a current support agreement, then there is absolutely
no warranty for this version of GDB. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
C:\SVN\Brunei-FSI\PCR-70I03-00295_ELJ2\fms_ofp\main\ofp_build\native/fms1.exe...done.
Catchpoint 1: unhandled Ada exceptions
(gdb) info break
Num Type Disp Enb Address What
1 breakpoint keep y 0x00c62d00 unhandled Ada exceptions
(gdb)
But when invoked from inside GPS via Debug->Initialize->fms1 I get the
following in the Debugger info:
file
C:/SVN/Brunei-FSI/PCR-70I03-00295_ELJ2/fms_ofp/main/ofp_build/native/fms1.exe
(gdb) show version
GNU gdb (GDB) 7.2 for GNAT Pro 6.4.0w (20101002) [rev=gdb-7.2-ref-27-g9456108]
Copyright (C) 2010 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.
See your support agreement for details of warranty and support.
If you do not have a current support agreement, then there is absolutely
no warranty for this version of GDB. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) info break
No breakpoints or watchpoints.
(gdb)
The versions of GDB that are invoked are the same, but why doesn't the .gdbinit
commands get executed like they do from the command line calls?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.