public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/15517] New: Debug Initialize is not setting catchpoint defined in .gbdinit file when GDB is invoked from inside GPS
@ 2013-05-22 19:44 eric.jackson2 at sikorsky dot com
0 siblings, 0 replies; only message in thread
From: eric.jackson2 at sikorsky dot com @ 2013-05-22 19:44 UTC (permalink / raw)
To: gdb-prs
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-22 19:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-22 19:44 [Bug breakpoints/15517] New: Debug Initialize is not setting catchpoint defined in .gbdinit file when GDB is invoked from inside GPS eric.jackson2 at sikorsky dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).