This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
breakpoints/2400: gdb can't set breakpoints in ADA code and outputs "No source file" found
- From: chris dot sid at online dot de
- To: gdb-gnats at sources dot redhat dot com
- Date: 3 Jan 2008 15:13:57 -0000
- Subject: breakpoints/2400: gdb can't set breakpoints in ADA code and outputs "No source file" found
- Reply-to: chris dot sid at online dot de
>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: