breakpoints/2253: Impossible to set a breakpoint using the full path if not on the same drive
rachma75@yahoo.fr
rachma75@yahoo.fr
Thu Apr 12 13:38:00 GMT 2007
>Number: 2253
>Category: breakpoints
>Synopsis: Impossible to set a breakpoint using the full path if not on the same drive
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 12 14:38:01 BST 2007
>Closed-Date:
>Last-Modified:
>Originator: rachma75@yahoo.fr
>Release: unknown-1.0
>Organization:
>Environment:
Windows XP SP2
gcc (GCC) 3.4.5 (mingw special)
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
>Description:
When debugging an exe generated with Mingw GCC, it's impossible to set a breakpoint using the source file's FULL path if the current drive is not the same as the source file's drive.
>How-To-Repeat:
- Create a source file C:/dummy.c which has just a "main" function.
- Build it into a.exe with Mingw GCC: "gcc -g dummy.c"
- Debug the exe with gdb: "gdb a.exe"
- Go to drive d: "cd d:"
- Set a breakpoint: "b c:/dummy.c:5"
-> you get the error "No source file named c:/dummy.c."
- If you first go to drive c: and repeat the same operation, it works.
Note that it doesn't happen if you build the exe with Cygwin GCC.
The attached zip contains the source file dummy.c + the generated a.exe
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/zip; name="breakpointBug.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="breakpointBug.zip"
UEsDBBQAAAAIAFp7jDaTnlctIRMAAFFCAAAFAAAAYS5leGXtW31sVFd2vzMe20PChzcxLelCMkhO
FlJsPOPxRzBOxtgDDnGI8UeSbvA+P8882wPztTNvwBAqOTFeMZ16621XLcpuKrzQlqZI60goyxI2
chYqQCWVF9EKifzh7EI7xP6Dpoi6Kc30nHvf9zU28SJWlbji+p177rnnd865591335vLy98eIXmE
EAfUXI6Qk4QVH5m/DEBd+tSppeTEok9Wn7Q1f7K6vS+UdMUTsd6EGHEFxGg0Jru6JVciFXWFoq7G
V9pck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