mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
Bug 311059: workaround for another bug (305385) which is not fixed yet.
This commit is contained in:
parent
9b222a1f27
commit
da8db8a30d
1 changed files with 7 additions and 1 deletions
|
@ -152,7 +152,13 @@ public class GDBProcesses extends MIProcesses {
|
||||||
if (name == null) {
|
if (name == null) {
|
||||||
// Should not happen.
|
// Should not happen.
|
||||||
name = "Unknown name"; //$NON-NLS-1$
|
name = "Unknown name"; //$NON-NLS-1$
|
||||||
assert false : "Don't have entry for process ID: " + pid; //$NON-NLS-1$
|
|
||||||
|
// Until bug 305385 is fixed, the above code will not work, so we assume we
|
||||||
|
// are looking for our own process
|
||||||
|
// assert false : "Don't have entry for process ID: " + pid; //$NON-NLS-1$
|
||||||
|
IGDBBackend backend = getServicesTracker().getService(IGDBBackend.class);
|
||||||
|
name = backend.getProgramPath().lastSegment();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rm.setData(new MIThreadDMData(name, pidStr));
|
rm.setData(new MIThreadDMData(name, pidStr));
|
||||||
|
|
Loading…
Add table
Reference in a new issue