Showstopper fix for IZ 151492 (Cannot attach [gdb] to process on Windows)
Gordon Prieur <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.reviewers |
|---|---|
| Message-ID | <[email protected]> |
Description of the bug (including IZ #):
IZ 151492 breaks the attach capability when using Cygwin and gdb on
Windows
Impact assessment i.e. why it is a showstopper?
A significant target feature is broken on Windows
Risk assessment i.e. why is it safe?
The problem is because paths from Cygwin's gdb have cygwin type
paths rather than
Windows paths and are compared against a Windows path. This fix does
simple String
manipulation to change a Cygwin path to a Windows path (but only for
the scope of
the comparison).
Confirmation of peer code review and QE verification of fix
Reviewed by Egor Ushakov
Changeset info (for reviewing diffs)
http://hg.netbeans.org/main?cmd=changeset;node=506dae811813