This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
breakpoints/1398: Path handling bug which makes GDB unable to stop at breakpoints
- From: kontakt at michaelstather dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 26 Sep 2003 12:25:17 -0000
- Subject: breakpoints/1398: Path handling bug which makes GDB unable to stop at breakpoints
- Reply-to: kontakt at michaelstather dot com
>Number: 1398
>Category: breakpoints
>Synopsis: Path handling bug which makes GDB unable to stop at breakpoints
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Sep 26 12:28:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Michael Stather
>Release: gdb 5.2.1
>Organization:
>Environment:
MinGW32 3.1.0-1 under WinXP professional
>Description:
I´ve a little program which has only 2 lines.
Assuming it is in c:\p, I compile it, and then I set a breakpoint like this:
g++ -g -o p.exe c:/p/p.cpp -mwindows
gdb
break "c:/p/p.cpp:7"
run
gdb won´t stop at the breakpoint.
however if I do:
cd c:\m
g++ -g -o p.exe p.cpp -mwindows
gdb
break "p.cpp:7"
run
it breaks correctly.
I think there´s something broken within the path handling
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: