1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 17:26:01 +02:00

Cosmetics

Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
Marc Khouzam 2016-03-05 06:01:33 -05:00
parent 2cd56f2ca9
commit d47fc9be4e

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2009, 2015 Ericsson and others.
* Copyright (c) 2009, 2016 Ericsson and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@ -36,18 +36,19 @@ public class CLIRecord extends CLICommand<MIInfo> {
{
String recordParam;
if (traceMethod == ReverseTraceMethod.STOP_TRACE)
if (traceMethod == ReverseTraceMethod.STOP_TRACE) {
recordParam = " stop"; //$NON-NLS-1$
else if (traceMethod == ReverseTraceMethod.FULL_TRACE) // full trace
} else if (traceMethod == ReverseTraceMethod.FULL_TRACE) {
recordParam = " full"; //$NON-NLS-1$
else if (traceMethod == ReverseTraceMethod.BRANCH_TRACE) // branch trace
} else if (traceMethod == ReverseTraceMethod.BRANCH_TRACE) {
recordParam = " btrace bts"; //$NON-NLS-1$
else if (traceMethod == ReverseTraceMethod.PROCESSOR_TRACE) // processor trace
} else if (traceMethod == ReverseTraceMethod.PROCESSOR_TRACE) {
recordParam = " btrace pt"; //$NON-NLS-1$
else if (traceMethod == ReverseTraceMethod.GDB_TRACE) // gdb selected trace
} else if (traceMethod == ReverseTraceMethod.GDB_TRACE) {
recordParam = " btrace"; //$NON-NLS-1$
else // no trace method defined
} else {// no trace method defined
recordParam = ""; //$NON-NLS-1$
}
return recordParam;
}