mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
Cosmetics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
parent
2cd56f2ca9
commit
d47fc9be4e
1 changed files with 14 additions and 13 deletions
|
@ -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
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -36,18 +36,19 @@ public class CLIRecord extends CLICommand<MIInfo> {
|
||||||
{
|
{
|
||||||
String recordParam;
|
String recordParam;
|
||||||
|
|
||||||
if (traceMethod == ReverseTraceMethod.STOP_TRACE)
|
if (traceMethod == ReverseTraceMethod.STOP_TRACE) {
|
||||||
recordParam = " stop"; //$NON-NLS-1$
|
recordParam = " stop"; //$NON-NLS-1$
|
||||||
else if (traceMethod == ReverseTraceMethod.FULL_TRACE) // full trace
|
} else if (traceMethod == ReverseTraceMethod.FULL_TRACE) {
|
||||||
recordParam = " full"; //$NON-NLS-1$
|
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$
|
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$
|
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$
|
recordParam = " btrace"; //$NON-NLS-1$
|
||||||
else // no trace method defined
|
} else {// no trace method defined
|
||||||
recordParam = ""; //$NON-NLS-1$
|
recordParam = ""; //$NON-NLS-1$
|
||||||
|
}
|
||||||
|
|
||||||
return recordParam;
|
return recordParam;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue