mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-07 08:15:48 +02:00
bug 233058 - support for remote process exit code in debug session
This commit is contained in:
parent
fa697cf355
commit
69ea8a3218
2 changed files with 3 additions and 3 deletions
|
@ -506,14 +506,14 @@ public class RxThread extends Thread {
|
|||
} else if (rr != null) {
|
||||
event = new MIInferiorExitEvent(session, rr);
|
||||
}
|
||||
session.getMIInferior().setTerminated();
|
||||
session.getMIInferior().setTerminated(0,false);
|
||||
} else if ("exited-signalled".equals(reason)) { //$NON-NLS-1$
|
||||
if (exec != null) {
|
||||
event = new MIInferiorSignalExitEvent(session, exec);
|
||||
} else if (rr != null) {
|
||||
event = new MIInferiorSignalExitEvent(session, rr);
|
||||
}
|
||||
session.getMIInferior().setTerminated();
|
||||
session.getMIInferior().setTerminated(0,false);
|
||||
} else if ("shlib-event".equals(reason)) { //$NON-NLS-1$
|
||||
if (exec != null) {
|
||||
event = new MISharedLibEvent(session, exec);
|
||||
|
|
|
@ -630,7 +630,7 @@ public class CDebugModelPresentation extends LabelProvider implements IDebugMode
|
|||
if ( t != null ) {
|
||||
if ( !t.isPostMortem() ) {
|
||||
CDebugElementState state = t.getState();
|
||||
if ( state.equals( CDebugElementState.EXITED ) ) {
|
||||
if ( state.equals( CDebugElementState.EXITED ) || state.equals( CDebugElementState.TERMINATED )) {
|
||||
Object info = t.getCurrentStateInfo();
|
||||
String label = CDebugUIMessages.getString( "CDTDebugModelPresentation.3" ); //$NON-NLS-1$
|
||||
String reason = ""; //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue