mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Bug 396386 - Attach to process does not work with Juno
Change-Id: I2134b42a54a1446e8546e339c0f949753be949a2 Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
This commit is contained in:
parent
ef93400be2
commit
ec1a750af3
1 changed files with 8 additions and 1 deletions
|
@ -107,8 +107,15 @@ public class ProcessPrompter implements IStatusHandler {
|
|||
|
||||
name = name.split("\\s", 2)[0]; //$NON-NLS-1$
|
||||
|
||||
// on windows host, paths of style "sendmail:", "udisk-daemon:"
|
||||
// would be treated as device id with no path segments
|
||||
IPath path = new Path(name);
|
||||
StringBuffer text = new StringBuffer(path.lastSegment());
|
||||
StringBuilder text = new StringBuilder();
|
||||
if (path.lastSegment() == null ) {
|
||||
text.append(name);
|
||||
} else {
|
||||
text.append(path.lastSegment());
|
||||
}
|
||||
|
||||
String owner = info.getOwner();
|
||||
if (owner != null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue