This is the mail archive of the gdb-prs@sources.redhat.com 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/1398: Path handling bug which makes GDB unable to stop at breakpoints


>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:


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