This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

breakpoints/2400: gdb can't set breakpoints in ADA code and outputs "No source file" found


>Number:         2400
>Category:       breakpoints
>Synopsis:       gdb can't set breakpoints in ADA code and outputs "No source file" found
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 03 15:18:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Chris Sidiropouos
>Release:        gdb 6.7 or 6.6
>Organization:
>Environment:
Windows XP
>Description:
I loaded the windows version  gnat-gpl-2007-2-pentium-mingw32msv-bin.exe. It compiles and creates the ADA code executable successfully. However, I get problems when I use the GDB to create breakpoints in my code.

The errors are as follows:

file c:/ada_training/lovelace/1/compute_case.exe
(gdb)
(gdb) break compute_case.adb:19
(gdb) No source file named compute_case.adb.


Problem is , it simply can't find the source code. I also played around with GDB command lines but with no success
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]