From 6de2f761a7ffab34f320f11aa7881d8800d2d010 Mon Sep 17 00:00:00 2001 From: Patrick Tasse Date: Wed, 6 Mar 2013 14:13:05 -0500 Subject: [PATCH] Introduce GDB Tracepoint Analysis feature Change-Id: I0800687b8b55b381fb304b828f57b9cd330c0d4b Signed-off-by: Patrick Tasse Reviewed-on: https://git.eclipse.org/r/10946 Tested-by: Hudson CI Reviewed-by: Bernd Hufmann IP-Clean: Bernd Hufmann Tested-by: Bernd Hufmann --- .../plugin.properties | 4 +- org.eclipse.linuxtools.ctf.core.tests/pom.xml | 2 +- .../plugin.properties | 4 +- org.eclipse.linuxtools.ctf.core/pom.xml | 2 +- .../plugin.properties | 4 +- org.eclipse.linuxtools.ctf.parser/pom.xml | 2 +- org.eclipse.linuxtools.ctf/feature.properties | 2 +- org.eclipse.linuxtools.ctf/pom.xml | 2 +- .../.classpath | 7 + .../.project | 34 + .../org.eclipse.core.resources.prefs | 2 + .../.settings/org.eclipse.core.runtime.prefs | 2 + .../.settings/org.eclipse.jdt.core.prefs | 389 ++++++++ .../.settings/org.eclipse.jdt.ui.prefs | 56 ++ .../META-INF/MANIFEST.MF | 11 + .../build.properties | 5 + .../plugin.properties | 3 + .../pom.xml | 44 + .../core/tests/AllGdbTraceCoreTests.java | 27 + .../.classpath | 7 + .../.gitignore | 2 + org.eclipse.linuxtools.gdbtrace.core/.project | 34 + .../org.eclipse.core.resources.prefs | 2 + .../.settings/org.eclipse.core.runtime.prefs | 2 + .../.settings/org.eclipse.jdt.core.prefs | 389 ++++++++ .../.settings/org.eclipse.jdt.ui.prefs | 56 ++ .../.settings/org.eclipse.pde.prefs | 32 + .../META-INF/MANIFEST.MF | 32 + .../about.html | 28 + .../build.properties | 6 + .../plugin.properties | 3 + org.eclipse.linuxtools.gdbtrace.core/pom.xml | 36 + .../internal/gdbtrace/GdbTraceCorePlugin.java | 85 ++ .../gdbtrace/event/GdbTraceEvent.java | 52 ++ .../gdbtrace/event/GdbTraceEventContent.java | 91 ++ .../gdbtrace/trace/DsfGdbAdaptor.java | 834 ++++++++++++++++++ .../internal/gdbtrace/trace/GdbTrace.java | 179 ++++ .../.empty.dtd | 0 .../.externalToolBuilders/Help Builder.launch | 16 + .../.gitignore | 3 + org.eclipse.linuxtools.gdbtrace.help/.project | 36 + .../org.eclipse.core.resources.prefs | 2 + .../.settings/org.eclipse.core.runtime.prefs | 2 + .../META-INF/MANIFEST.MF | 8 + org.eclipse.linuxtools.gdbtrace.help/README | 19 + .../about.html | 28 + org.eclipse.linuxtools.gdbtrace.help/book.css | 59 ++ .../build.properties | 8 + .../build.xml | 99 +++ .../doc/.gitignore | 2 + .../doc/User-Guide.mediawiki | 13 + .../doc/images/home.gif | Bin 0 -> 582 bytes .../doc/images/next.gif | Bin 0 -> 327 bytes .../doc/images/prev.gif | Bin 0 -> 327 bytes .../plugin.properties | 3 + .../plugin.xml | 18 + org.eclipse.linuxtools.gdbtrace.help/pom.xml | 86 ++ .../.classpath | 7 + .../.project | 34 + .../org.eclipse.core.resources.prefs | 2 + .../.settings/org.eclipse.core.runtime.prefs | 2 + .../.settings/org.eclipse.jdt.core.prefs | 389 ++++++++ .../.settings/org.eclipse.jdt.ui.prefs | 56 ++ .../META-INF/MANIFEST.MF | 11 + .../build.properties | 5 + .../plugin.properties | 3 + .../pom.xml | 44 + .../gdbtrace/ui/tests/AllGdbTraceUITests.java | 27 + org.eclipse.linuxtools.gdbtrace.ui/.classpath | 7 + org.eclipse.linuxtools.gdbtrace.ui/.gitignore | 2 + org.eclipse.linuxtools.gdbtrace.ui/.project | 34 + .../org.eclipse.core.resources.prefs | 2 + .../.settings/org.eclipse.core.runtime.prefs | 2 + .../.settings/org.eclipse.jdt.core.prefs | 389 ++++++++ .../.settings/org.eclipse.jdt.ui.prefs | 56 ++ .../.settings/org.eclipse.pde.prefs | 32 + .../META-INF/MANIFEST.MF | 25 + org.eclipse.linuxtools.gdbtrace.ui/about.html | 28 + .../build.properties | 8 + .../icons/obj16/gdb_icon16.png | Bin 0 -> 330 bytes .../plugin.properties | 10 + org.eclipse.linuxtools.gdbtrace.ui/plugin.xml | 90 ++ org.eclipse.linuxtools.gdbtrace.ui/pom.xml | 36 + .../gdbtrace/ui/GdbTraceUiPlugin.java | 73 ++ .../ui/views/GdbPerspectiveFactory.java | 76 ++ .../ui/views/events/GdbEventsTable.java | 132 +++ .../ui/views/project/dialogs/Messages.java | 34 + .../dialogs/SelectTraceExecutableDialog.java | 190 ++++ .../views/project/dialogs/messages.properties | 6 + .../SelectTraceExecutableHandler.java | 66 ++ org.eclipse.linuxtools.gdbtrace/.gitignore | 2 + org.eclipse.linuxtools.gdbtrace/.project | 17 + .../org.eclipse.core.resources.prefs | 2 + .../.settings/org.eclipse.core.runtime.prefs | 2 + .../build.properties | 5 + org.eclipse.linuxtools.gdbtrace/epl-v10.html | 256 ++++++ .../feature.properties | 146 +++ org.eclipse.linuxtools.gdbtrace/feature.xml | 63 ++ org.eclipse.linuxtools.gdbtrace/license.html | 164 ++++ org.eclipse.linuxtools.gdbtrace/p2.inf | 3 + org.eclipse.linuxtools.gdbtrace/pom.xml | 64 ++ .../sourceTemplateFeature/feature.properties | 1 + .../plugin.properties | 2 +- .../category.xml | 3 + .../plugin.properties | 14 +- .../pom.xml | 2 +- .../plugin.properties | 14 +- .../plugin.properties | 14 +- .../pom.xml | 2 +- .../plugin.properties | 14 +- .../pom.xml | 2 +- .../plugin.properties | 14 +- .../pom.xml | 2 +- .../plugin.properties | 14 +- .../feature.properties | 4 +- org.eclipse.linuxtools.lttng2.kernel/pom.xml | 2 +- .../plugin.properties | 4 +- .../pom.xml | 2 +- .../plugin.properties | 14 +- .../feature.properties | 3 +- org.eclipse.linuxtools.lttng2/pom.xml | 2 +- .../plugin.properties | 4 +- org.eclipse.linuxtools.tmf.core.tests/pom.xml | 2 +- .../plugin.properties | 4 +- org.eclipse.linuxtools.tmf.core/pom.xml | 2 +- .../plugin.properties | 2 +- .../plugin.properties | 3 +- org.eclipse.linuxtools.tmf.ui.tests/pom.xml | 2 +- .../plugin.properties | 4 +- org.eclipse.linuxtools.tmf.ui/pom.xml | 2 +- org.eclipse.linuxtools.tmf/feature.properties | 3 +- org.eclipse.linuxtools.tmf/pom.xml | 2 +- pom.xml | 12 +- 133 files changed, 5522 insertions(+), 125 deletions(-) create mode 100644 org.eclipse.linuxtools.gdbtrace.core.tests/.classpath create mode 100644 org.eclipse.linuxtools.gdbtrace.core.tests/.project create mode 100644 org.eclipse.linuxtools.gdbtrace.core.tests/.settings/org.eclipse.core.resources.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.core.tests/.settings/org.eclipse.core.runtime.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.core.tests/.settings/org.eclipse.jdt.core.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.core.tests/.settings/org.eclipse.jdt.ui.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.core.tests/META-INF/MANIFEST.MF create mode 100644 org.eclipse.linuxtools.gdbtrace.core.tests/build.properties create mode 100644 org.eclipse.linuxtools.gdbtrace.core.tests/plugin.properties create mode 100644 org.eclipse.linuxtools.gdbtrace.core.tests/pom.xml create mode 100644 org.eclipse.linuxtools.gdbtrace.core.tests/src/org/eclipse/linuxtools/gdbtrace/core/tests/AllGdbTraceCoreTests.java create mode 100644 org.eclipse.linuxtools.gdbtrace.core/.classpath create mode 100644 org.eclipse.linuxtools.gdbtrace.core/.gitignore create mode 100644 org.eclipse.linuxtools.gdbtrace.core/.project create mode 100644 org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.core.resources.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.core.runtime.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.jdt.core.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.jdt.ui.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.pde.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.core/META-INF/MANIFEST.MF create mode 100644 org.eclipse.linuxtools.gdbtrace.core/about.html create mode 100644 org.eclipse.linuxtools.gdbtrace.core/build.properties create mode 100644 org.eclipse.linuxtools.gdbtrace.core/plugin.properties create mode 100644 org.eclipse.linuxtools.gdbtrace.core/pom.xml create mode 100644 org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/GdbTraceCorePlugin.java create mode 100644 org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/event/GdbTraceEvent.java create mode 100644 org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/event/GdbTraceEventContent.java create mode 100644 org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/trace/DsfGdbAdaptor.java create mode 100644 org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/trace/GdbTrace.java create mode 100644 org.eclipse.linuxtools.gdbtrace.help/.empty.dtd create mode 100644 org.eclipse.linuxtools.gdbtrace.help/.externalToolBuilders/Help Builder.launch create mode 100644 org.eclipse.linuxtools.gdbtrace.help/.gitignore create mode 100644 org.eclipse.linuxtools.gdbtrace.help/.project create mode 100644 org.eclipse.linuxtools.gdbtrace.help/.settings/org.eclipse.core.resources.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.help/.settings/org.eclipse.core.runtime.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.help/META-INF/MANIFEST.MF create mode 100644 org.eclipse.linuxtools.gdbtrace.help/README create mode 100644 org.eclipse.linuxtools.gdbtrace.help/about.html create mode 100644 org.eclipse.linuxtools.gdbtrace.help/book.css create mode 100644 org.eclipse.linuxtools.gdbtrace.help/build.properties create mode 100644 org.eclipse.linuxtools.gdbtrace.help/build.xml create mode 100644 org.eclipse.linuxtools.gdbtrace.help/doc/.gitignore create mode 100644 org.eclipse.linuxtools.gdbtrace.help/doc/User-Guide.mediawiki create mode 100644 org.eclipse.linuxtools.gdbtrace.help/doc/images/home.gif create mode 100644 org.eclipse.linuxtools.gdbtrace.help/doc/images/next.gif create mode 100644 org.eclipse.linuxtools.gdbtrace.help/doc/images/prev.gif create mode 100644 org.eclipse.linuxtools.gdbtrace.help/plugin.properties create mode 100644 org.eclipse.linuxtools.gdbtrace.help/plugin.xml create mode 100644 org.eclipse.linuxtools.gdbtrace.help/pom.xml create mode 100644 org.eclipse.linuxtools.gdbtrace.ui.tests/.classpath create mode 100644 org.eclipse.linuxtools.gdbtrace.ui.tests/.project create mode 100644 org.eclipse.linuxtools.gdbtrace.ui.tests/.settings/org.eclipse.core.resources.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.ui.tests/.settings/org.eclipse.core.runtime.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.ui.tests/.settings/org.eclipse.jdt.core.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.ui.tests/.settings/org.eclipse.jdt.ui.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.ui.tests/META-INF/MANIFEST.MF create mode 100644 org.eclipse.linuxtools.gdbtrace.ui.tests/build.properties create mode 100644 org.eclipse.linuxtools.gdbtrace.ui.tests/plugin.properties create mode 100644 org.eclipse.linuxtools.gdbtrace.ui.tests/pom.xml create mode 100644 org.eclipse.linuxtools.gdbtrace.ui.tests/src/org/eclipse/linuxtools/gdbtrace/ui/tests/AllGdbTraceUITests.java create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/.classpath create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/.gitignore create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/.project create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.core.resources.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.core.runtime.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.jdt.core.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.jdt.ui.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.pde.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/META-INF/MANIFEST.MF create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/about.html create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/build.properties create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/icons/obj16/gdb_icon16.png create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/plugin.properties create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/plugin.xml create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/pom.xml create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/GdbTraceUiPlugin.java create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/GdbPerspectiveFactory.java create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/events/GdbEventsTable.java create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/project/dialogs/Messages.java create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/project/dialogs/SelectTraceExecutableDialog.java create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/project/dialogs/messages.properties create mode 100644 org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/project/handlers/SelectTraceExecutableHandler.java create mode 100644 org.eclipse.linuxtools.gdbtrace/.gitignore create mode 100644 org.eclipse.linuxtools.gdbtrace/.project create mode 100644 org.eclipse.linuxtools.gdbtrace/.settings/org.eclipse.core.resources.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace/.settings/org.eclipse.core.runtime.prefs create mode 100644 org.eclipse.linuxtools.gdbtrace/build.properties create mode 100644 org.eclipse.linuxtools.gdbtrace/epl-v10.html create mode 100644 org.eclipse.linuxtools.gdbtrace/feature.properties create mode 100644 org.eclipse.linuxtools.gdbtrace/feature.xml create mode 100644 org.eclipse.linuxtools.gdbtrace/license.html create mode 100644 org.eclipse.linuxtools.gdbtrace/p2.inf create mode 100644 org.eclipse.linuxtools.gdbtrace/pom.xml create mode 100644 org.eclipse.linuxtools.gdbtrace/sourceTemplateFeature/feature.properties diff --git a/org.eclipse.linuxtools.ctf.core.tests/plugin.properties b/org.eclipse.linuxtools.ctf.core.tests/plugin.properties index d5a36b0dc2..fab7a5b1af 100644 --- a/org.eclipse.linuxtools.ctf.core.tests/plugin.properties +++ b/org.eclipse.linuxtools.ctf.core.tests/plugin.properties @@ -1,3 +1,3 @@ -#Properties file for org.eclipse.linuxtools.tmf.tests +#Properties file for org.eclipse.linuxtools.ctf.core.tests Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = CTF Core Unit Test Suite \ No newline at end of file +Bundle-Name = Linux Tools CTF Core Tests Plug-in \ No newline at end of file diff --git a/org.eclipse.linuxtools.ctf.core.tests/pom.xml b/org.eclipse.linuxtools.ctf.core.tests/pom.xml index d9810372da..b810e1f269 100644 --- a/org.eclipse.linuxtools.ctf.core.tests/pom.xml +++ b/org.eclipse.linuxtools.ctf.core.tests/pom.xml @@ -19,7 +19,7 @@ 2.0.0-SNAPSHOT - Linux Tools LTTng CTF Core Unit Test Suite + Linux Tools CTF Core Tests Plug-in org.eclipse.linuxtools.ctf org.eclipse.linuxtools.ctf.core.tests 2.0.0-SNAPSHOT diff --git a/org.eclipse.linuxtools.ctf.core/plugin.properties b/org.eclipse.linuxtools.ctf.core/plugin.properties index a96bea4dd8..f06d9aadd0 100644 --- a/org.eclipse.linuxtools.ctf.core/plugin.properties +++ b/org.eclipse.linuxtools.ctf.core/plugin.properties @@ -1,3 +1,3 @@ -#Properties file for org.eclipse.linuxtools.tmf +#Properties file for org.eclipse.linuxtools.ctf.core Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = CTF Core +Bundle-Name = Linux Tools CTF Core Plug-in diff --git a/org.eclipse.linuxtools.ctf.core/pom.xml b/org.eclipse.linuxtools.ctf.core/pom.xml index 3fbcb7d27c..b4c1eab201 100644 --- a/org.eclipse.linuxtools.ctf.core/pom.xml +++ b/org.eclipse.linuxtools.ctf.core/pom.xml @@ -17,7 +17,7 @@ 2.0.0-SNAPSHOT - Linux Tools LTTng CTF Core Plug-in + Linux Tools CTF Core Plug-in org.eclipse.linuxtools.ctf org.eclipse.linuxtools.ctf.core 2.0.0-SNAPSHOT diff --git a/org.eclipse.linuxtools.ctf.parser/plugin.properties b/org.eclipse.linuxtools.ctf.parser/plugin.properties index 2b69b9c900..beced017ba 100644 --- a/org.eclipse.linuxtools.ctf.parser/plugin.properties +++ b/org.eclipse.linuxtools.ctf.parser/plugin.properties @@ -1,3 +1,3 @@ -#Properties file for org.eclipse.linuxtools.tmf +#Properties file for org.eclipse.linuxtools.ctf.parser Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = CTF Parser +Bundle-Name = Linux Tools CTF Parser Plug-in diff --git a/org.eclipse.linuxtools.ctf.parser/pom.xml b/org.eclipse.linuxtools.ctf.parser/pom.xml index 05f665fcad..5ba329a516 100644 --- a/org.eclipse.linuxtools.ctf.parser/pom.xml +++ b/org.eclipse.linuxtools.ctf.parser/pom.xml @@ -17,7 +17,7 @@ 2.0.0-SNAPSHOT - Linux Tools LTTng CTF Parser Plug-in + Linux Tools CTF Parser Plug-in org.eclipse.linuxtools.ctf org.eclipse.linuxtools.ctf.parser 1.0.0-SNAPSHOT diff --git a/org.eclipse.linuxtools.ctf/feature.properties b/org.eclipse.linuxtools.ctf/feature.properties index 596d124253..ed3b939916 100644 --- a/org.eclipse.linuxtools.ctf/feature.properties +++ b/org.eclipse.linuxtools.ctf/feature.properties @@ -11,7 +11,7 @@ featureName=CTF - Common Trace Format -description=CTF plugins. +description=Plug-ins to integrate CTF into the workbench. featureProvider=Eclipse Linux Tools diff --git a/org.eclipse.linuxtools.ctf/pom.xml b/org.eclipse.linuxtools.ctf/pom.xml index 236536bada..a4157b6df5 100644 --- a/org.eclipse.linuxtools.ctf/pom.xml +++ b/org.eclipse.linuxtools.ctf/pom.xml @@ -17,7 +17,7 @@ 2.0.0-SNAPSHOT - Linux Tools LTTng CTF (Common Trace Format) + Linux Tools CTF (Common Trace Format) Feature org.eclipse.linuxtools.ctf org.eclipse.linuxtools.ctf 2.0.0-SNAPSHOT diff --git a/org.eclipse.linuxtools.gdbtrace.core.tests/.classpath b/org.eclipse.linuxtools.gdbtrace.core.tests/.classpath new file mode 100644 index 0000000000..ad32c83a78 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core.tests/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/org.eclipse.linuxtools.gdbtrace.core.tests/.project b/org.eclipse.linuxtools.gdbtrace.core.tests/.project new file mode 100644 index 0000000000..91296408fc --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core.tests/.project @@ -0,0 +1,34 @@ + + + org.eclipse.linuxtools.gdbtrace.core.tests + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.pde.api.tools.apiAnalysisBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.api.tools.apiAnalysisNature + + diff --git a/org.eclipse.linuxtools.gdbtrace.core.tests/.settings/org.eclipse.core.resources.prefs b/org.eclipse.linuxtools.gdbtrace.core.tests/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..99f26c0203 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core.tests/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.eclipse.linuxtools.gdbtrace.core.tests/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.linuxtools.gdbtrace.core.tests/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..5a0ad22d2a --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core.tests/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +line.separator=\n diff --git a/org.eclipse.linuxtools.gdbtrace.core.tests/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.linuxtools.gdbtrace.core.tests/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..bca8c277d1 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core.tests/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,389 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=enabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.doc.comment.support=enabled +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=enabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=warning +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=warning +org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=warning +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=enabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocComments=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=all_standard_tags +org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=warning +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=warning +org.eclipse.jdt.core.compiler.problem.nullReference=error +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=warning +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=warning +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=warning +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=disabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=disabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=disabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=0 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=80 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=false +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=250 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=space +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=false +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true diff --git a/org.eclipse.linuxtools.gdbtrace.core.tests/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.linuxtools.gdbtrace.core.tests/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 0000000000..4fd0c7006a --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core.tests/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,56 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_profile=_tmf-style +formatter_settings_version=12 +sp_cleanup.add_default_serial_version_id=true +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=false +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=true +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=false +sp_cleanup.format_source_code=false +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=true +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=true +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=false +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=true +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=false +sp_cleanup.remove_unnecessary_nls_tags=false +sp_cleanup.remove_unused_imports=false +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=true +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=true +sp_cleanup.remove_unused_private_types=true +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_blocks=true +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true diff --git a/org.eclipse.linuxtools.gdbtrace.core.tests/META-INF/MANIFEST.MF b/org.eclipse.linuxtools.gdbtrace.core.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..b59963797a --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core.tests/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-Vendor: %Bundle-Vendor +Bundle-Version: 1.0.0.qualifier +Bundle-Localization: plugin +Bundle-SymbolicName: org.eclipse.linuxtools.gdbtrace.core.tests +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Fragment-Host: org.eclipse.linuxtools.gdbtrace.core +Require-Bundle: org.junit;bundle-version="4.0.0" diff --git a/org.eclipse.linuxtools.gdbtrace.core.tests/build.properties b/org.eclipse.linuxtools.gdbtrace.core.tests/build.properties new file mode 100644 index 0000000000..aa1a008269 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core.tests/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.properties diff --git a/org.eclipse.linuxtools.gdbtrace.core.tests/plugin.properties b/org.eclipse.linuxtools.gdbtrace.core.tests/plugin.properties new file mode 100644 index 0000000000..c2e285157b --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core.tests/plugin.properties @@ -0,0 +1,3 @@ +#Properties file for org.eclipse.linuxtools.gdbtrace.core.tests +Bundle-Vendor = Eclipse Linux Tools +Bundle-Name = Linux Tools GDB Tracepoint Analysis Core Tests Plug-in diff --git a/org.eclipse.linuxtools.gdbtrace.core.tests/pom.xml b/org.eclipse.linuxtools.gdbtrace.core.tests/pom.xml new file mode 100644 index 0000000000..cc4e3b83cb --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core.tests/pom.xml @@ -0,0 +1,44 @@ + + + + 4.0.0 + + + linuxtools-lttng-parent + org.eclipse.linuxtools.lttng + 2.0.0-SNAPSHOT + + + org.eclipse.linuxtools.gdbtrace.core.tests + org.eclipse.linuxtools.gdbtrace + 1.0.0-SNAPSHOT + eclipse-test-plugin + + Linux Tools GDB Tracepoint Analysis Core Tests Plug-in + + + + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + org.eclipse.linuxtools.gdbtrace.core.tests + org.eclipse.linuxtools.gdbtrace.core.tests.AllGdbTraceCoreTests + false + false + org.eclipse.sdk.ide + + + + + + diff --git a/org.eclipse.linuxtools.gdbtrace.core.tests/src/org/eclipse/linuxtools/gdbtrace/core/tests/AllGdbTraceCoreTests.java b/org.eclipse.linuxtools.gdbtrace.core.tests/src/org/eclipse/linuxtools/gdbtrace/core/tests/AllGdbTraceCoreTests.java new file mode 100644 index 0000000000..2218ec8cc9 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core.tests/src/org/eclipse/linuxtools/gdbtrace/core/tests/AllGdbTraceCoreTests.java @@ -0,0 +1,27 @@ +/******************************************************************************* + * Copyright (c) 2013 Ericsson + * + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Patrick Tasse - Initial API and implementation + *******************************************************************************/ + +package org.eclipse.linuxtools.gdbtrace.core.tests; + +import org.junit.runner.RunWith; +import org.junit.runners.Suite; + +/** + * Master test suite for GDB Tracepoint Analysis Core. + */ +@RunWith(Suite.class) +@Suite.SuiteClasses({ +}) + +public class AllGdbTraceCoreTests { + +} diff --git a/org.eclipse.linuxtools.gdbtrace.core/.classpath b/org.eclipse.linuxtools.gdbtrace.core/.classpath new file mode 100644 index 0000000000..ad32c83a78 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/org.eclipse.linuxtools.gdbtrace.core/.gitignore b/org.eclipse.linuxtools.gdbtrace.core/.gitignore new file mode 100644 index 0000000000..d567ba01e1 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/.gitignore @@ -0,0 +1,2 @@ +bin +target diff --git a/org.eclipse.linuxtools.gdbtrace.core/.project b/org.eclipse.linuxtools.gdbtrace.core/.project new file mode 100644 index 0000000000..8fae4fb5a5 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/.project @@ -0,0 +1,34 @@ + + + org.eclipse.linuxtools.gdbtrace.core + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.pde.api.tools.apiAnalysisBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.api.tools.apiAnalysisNature + + diff --git a/org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.core.resources.prefs b/org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..99f26c0203 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..5a0ad22d2a --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +line.separator=\n diff --git a/org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..bca8c277d1 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,389 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=enabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.doc.comment.support=enabled +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=enabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=warning +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=warning +org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=warning +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=enabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocComments=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=all_standard_tags +org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=warning +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=warning +org.eclipse.jdt.core.compiler.problem.nullReference=error +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=warning +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=warning +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=warning +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=disabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=disabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=disabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=0 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=80 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=false +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=250 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=space +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=false +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true diff --git a/org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 0000000000..4fd0c7006a --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,56 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_profile=_tmf-style +formatter_settings_version=12 +sp_cleanup.add_default_serial_version_id=true +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=false +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=true +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=false +sp_cleanup.format_source_code=false +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=true +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=true +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=false +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=true +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=false +sp_cleanup.remove_unnecessary_nls_tags=false +sp_cleanup.remove_unused_imports=false +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=true +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=true +sp_cleanup.remove_unused_private_types=true +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_blocks=true +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true diff --git a/org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.pde.prefs b/org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.pde.prefs new file mode 100644 index 0000000000..97b4320800 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=2 +compilers.p.build.java.compiler=2 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=2 +compilers.p.missing-version-import-package=2 +compilers.p.missing-version-require-bundle=2 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=2 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/org.eclipse.linuxtools.gdbtrace.core/META-INF/MANIFEST.MF b/org.eclipse.linuxtools.gdbtrace.core/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..b77bed5b7c --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/META-INF/MANIFEST.MF @@ -0,0 +1,32 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-SymbolicName: org.eclipse.linuxtools.gdbtrace.core;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-Localization: plugin +Bundle-Activator: org.eclipse.linuxtools.internal.gdbtrace.GdbTraceCorePlugin +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.ui, + org.eclipse.ui.ide, + org.eclipse.debug.core, + org.eclipse.debug.ui, + org.eclipse.linuxtools.tmf.core;bundle-version="2.0.0", + org.eclipse.linuxtools.tmf.ui;bundle-version="2.0.0" +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Bundle-Vendor: %Bundle-Vendor +Export-Package: org.eclipse.linuxtools.internal.gdbtrace;x-internal:=true, + org.eclipse.linuxtools.internal.gdbtrace.event;x-friends:="org.eclipse.linuxtools.gdbtrace.ui", + org.eclipse.linuxtools.internal.gdbtrace.trace;x-friends:="org.eclipse.linuxtools.gdbtrace.ui" +Import-Package: org.eclipse.cdt.dsf.concurrent, + org.eclipse.cdt.dsf.datamodel, + org.eclipse.cdt.dsf.debug.service, + org.eclipse.cdt.dsf.debug.service.command, + org.eclipse.cdt.dsf.gdb.internal, + org.eclipse.cdt.dsf.gdb.internal.ui, + org.eclipse.cdt.dsf.gdb.launching, + org.eclipse.cdt.dsf.gdb.service, + org.eclipse.cdt.dsf.mi.service, + org.eclipse.cdt.dsf.mi.service.command, + org.eclipse.cdt.dsf.mi.service.command.output, + org.eclipse.cdt.dsf.service diff --git a/org.eclipse.linuxtools.gdbtrace.core/about.html b/org.eclipse.linuxtools.gdbtrace.core/about.html new file mode 100644 index 0000000000..c258ef55d8 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 5, 2006

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/org.eclipse.linuxtools.gdbtrace.core/build.properties b/org.eclipse.linuxtools.gdbtrace.core/build.properties new file mode 100644 index 0000000000..b67aba1a41 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/build.properties @@ -0,0 +1,6 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.properties,\ + about.html diff --git a/org.eclipse.linuxtools.gdbtrace.core/plugin.properties b/org.eclipse.linuxtools.gdbtrace.core/plugin.properties new file mode 100644 index 0000000000..a855ada54a --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/plugin.properties @@ -0,0 +1,3 @@ +#Properties file for org.eclipse.linuxtools.gdbtrace.core +Bundle-Vendor = Eclipse Linux Tools +Bundle-Name = Linux Tools GDB Tracepoint Analysis Core Plug-in diff --git a/org.eclipse.linuxtools.gdbtrace.core/pom.xml b/org.eclipse.linuxtools.gdbtrace.core/pom.xml new file mode 100644 index 0000000000..6276f57e6c --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/pom.xml @@ -0,0 +1,36 @@ + + + + 4.0.0 + + + linuxtools-lttng-parent + org.eclipse.linuxtools.lttng + 2.0.0-SNAPSHOT + + + org.eclipse.linuxtools.gdbtrace.core + org.eclipse.linuxtools.gdbtrace + 1.0.0-SNAPSHOT + eclipse-plugin + + Linux Tools GDB Tracepoint Analysis Core Plug-in + + + + + org.eclipse.tycho + tycho-source-plugin + + + + + diff --git a/org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/GdbTraceCorePlugin.java b/org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/GdbTraceCorePlugin.java new file mode 100644 index 0000000000..e5ff16666e --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/GdbTraceCorePlugin.java @@ -0,0 +1,85 @@ +/******************************************************************************* + * Copyright (c) 2011, 2013 Ericsson + * + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Francois Chouinard - Initial API and implementation + * Patrick Tasse - Updated for TMF 2.0 + *******************************************************************************/ + +package org.eclipse.linuxtools.internal.gdbtrace; + +import org.eclipse.core.runtime.Plugin; +import org.osgi.framework.BundleContext; + +/** + * GDB Tracepoint Analysis Core plug-in activator + * @author Francois Chouinard + */ +public class GdbTraceCorePlugin extends Plugin { + + // ------------------------------------------------------------------------ + // Attributes + // ------------------------------------------------------------------------ + + /** The plug-in ID */ + public static final String PLUGIN_ID = "org.eclipse.linuxtools.gdbtrace"; //$NON-NLS-1$ + + private static GdbTraceCorePlugin plugin; + + private static BundleContext fBundleContext; + + // ------------------------------------------------------------------------ + // Constructor + // ------------------------------------------------------------------------ + + /** + * Constructor + */ + public GdbTraceCorePlugin() { + } + + // ------------------------------------------------------------------------ + // Plugin + // ------------------------------------------------------------------------ + + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + fBundleContext = context; + } + + @Override + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + // ------------------------------------------------------------------------ + // Accessor + // ------------------------------------------------------------------------ + + /** + * Returns the GDB Tracepoints Core plug-in instance. + * + * @return the GDB Tracepoints Core plug-in instance + */ + public static GdbTraceCorePlugin getDefault() { + return plugin; + } + + /** + * Returns the bundle context + * + * @return the bundle context + */ + public static BundleContext getBundleContext() { + return fBundleContext; + } + +} diff --git a/org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/event/GdbTraceEvent.java b/org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/event/GdbTraceEvent.java new file mode 100644 index 0000000000..1b91f8300c --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/event/GdbTraceEvent.java @@ -0,0 +1,52 @@ +/******************************************************************************* + * Copyright (c) 2011, 2013 Ericsson + * + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Francois Chouinard - Initial API and implementation + * Patrick Tasse - Updated for TMF 2.0 + *******************************************************************************/ + +package org.eclipse.linuxtools.internal.gdbtrace.event; + +import org.eclipse.linuxtools.internal.gdbtrace.trace.GdbTrace; +import org.eclipse.linuxtools.tmf.core.event.ITmfEventField; +import org.eclipse.linuxtools.tmf.core.event.ITmfEventType; +import org.eclipse.linuxtools.tmf.core.event.TmfEvent; +import org.eclipse.linuxtools.tmf.core.timestamp.ITmfTimestamp; + +/** + * GDB Trace implementation of TmfEvent + * @author Francois Chouinard + */ +public class GdbTraceEvent extends TmfEvent { + + // ------------------------------------------------------------------------ + // Constructors + // ------------------------------------------------------------------------ + + /** + * Default constructor + */ + public GdbTraceEvent() { + } + + /** + * Full constructor + * @param trace the parent trace + * @param timestamp the event timestamp + * @param source the event source + * @param type the event type + * @param content the event content + * @param reference the event reference + */ + public GdbTraceEvent(GdbTrace trace, ITmfTimestamp timestamp, String source, + ITmfEventType type, ITmfEventField content, String reference) { + super(trace, timestamp, source, type, content, reference); + } + +} diff --git a/org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/event/GdbTraceEventContent.java b/org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/event/GdbTraceEventContent.java new file mode 100644 index 0000000000..ecb3e1c490 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/event/GdbTraceEventContent.java @@ -0,0 +1,91 @@ +/******************************************************************************* + * Copyright (c) 2011, 2013 Ericsson + * + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Francois Chouinard - Initial API and implementation + * Patrick Tasse - Updated for TMF 2.0 + *******************************************************************************/ + +package org.eclipse.linuxtools.internal.gdbtrace.event; + +import org.eclipse.linuxtools.tmf.core.event.ITmfEventField; +import org.eclipse.linuxtools.tmf.core.event.TmfEventField; + +/** + * GDB Trace implementation of TmfEventField + * @author Francois Chouinard + */ +public class GdbTraceEventContent extends TmfEventField { + + /** Trace Frame field name */ + public static final String TRACE_FRAME = "Trace Frame"; //$NON-NLS-1$ + /** Tracepoint field name */ + public static final String TRACEPOINT = "Tracepoint"; //$NON-NLS-1$ + + // Tracepoint number + private int fTracepointNumber = 0; + // frame number + private int fFrameNumber = 0; + + // ------------------------------------------------------------------------ + // Constructors + // ------------------------------------------------------------------------ + + /** + * Full constructor + * @param content the raw content + * @param tracepointNumber the tracepoint number + * @param frameNumber the frame number + */ + public GdbTraceEventContent(String content, int tracepointNumber, int frameNumber) { + // TmfEvent parent, Object content + super(ITmfEventField.ROOT_FIELD_ID, + content.replaceAll("\r?\n", " | "), //$NON-NLS-1$ //$NON-NLS-2$ + new ITmfEventField[] { + new TmfEventField(TRACE_FRAME, frameNumber), + new TmfEventField(TRACEPOINT, tracepointNumber)} + ); + + fTracepointNumber = tracepointNumber; + fFrameNumber = frameNumber; + } + + /** + * @param other the original event content + */ + public GdbTraceEventContent(GdbTraceEventContent other) { + super(other); + } + + // ------------------------------------------------------------------------ + // Accessors + // ------------------------------------------------------------------------ + + /** + * @return the tracepointNumber + */ + public int getTracepointNumber() { + return fTracepointNumber; + } + + /** + * @return the frameNumber + */ + public int getFrameNumber() { + return fFrameNumber; + } + + // ------------------------------------------------------------------------ + // Object + // ------------------------------------------------------------------------ + + @Override + public String toString() { + return getValue().toString(); + } +} diff --git a/org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/trace/DsfGdbAdaptor.java b/org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/trace/DsfGdbAdaptor.java new file mode 100644 index 0000000000..d70e7e0142 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/trace/DsfGdbAdaptor.java @@ -0,0 +1,834 @@ +/******************************************************************************* + * Copyright (c) 2011, 2013 Ericsson + * + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Marc Dumais - Initial implementation + * Francois Chouinard - Misc improvements, DSF signal handling, dynamic experiment + * Patrick Tasse - Updated for TMF 2.0 + *******************************************************************************/ + +package org.eclipse.linuxtools.internal.gdbtrace.trace; + +import java.util.HashMap; +import java.util.Hashtable; +import java.util.List; +import java.util.Map; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.RejectedExecutionException; + +import org.eclipse.cdt.dsf.concurrent.DataRequestMonitor; +import org.eclipse.cdt.dsf.concurrent.DsfExecutor; +import org.eclipse.cdt.dsf.concurrent.IDsfStatusConstants; +import org.eclipse.cdt.dsf.concurrent.Query; +import org.eclipse.cdt.dsf.datamodel.DMContexts; +import org.eclipse.cdt.dsf.datamodel.IDMContext; +import org.eclipse.cdt.dsf.debug.service.IBreakpoints; +import org.eclipse.cdt.dsf.debug.service.IBreakpoints.IBreakpointsTargetDMContext; +import org.eclipse.cdt.dsf.debug.service.IRunControl.IContainerDMContext; +import org.eclipse.cdt.dsf.debug.service.command.ICommandControlService; +import org.eclipse.cdt.dsf.debug.service.command.ICommandControlService.ICommandControlDMContext; +import org.eclipse.cdt.dsf.gdb.internal.GdbPlugin; +import org.eclipse.cdt.dsf.gdb.internal.ui.GdbUIPlugin; +import org.eclipse.cdt.dsf.gdb.launching.GdbLaunch; +import org.eclipse.cdt.dsf.gdb.service.GDBTraceControl_7_2.TraceRecordSelectedChangedEvent; +import org.eclipse.cdt.dsf.gdb.service.IGDBTraceControl; +import org.eclipse.cdt.dsf.gdb.service.IGDBTraceControl.ITraceRecordDMContext; +import org.eclipse.cdt.dsf.gdb.service.IGDBTraceControl.ITraceRecordDMData; +import org.eclipse.cdt.dsf.gdb.service.IGDBTraceControl.ITraceRecordSelectedChangedDMEvent; +import org.eclipse.cdt.dsf.gdb.service.IGDBTraceControl.ITraceStatusDMData; +import org.eclipse.cdt.dsf.gdb.service.IGDBTraceControl.ITraceTargetDMContext; +import org.eclipse.cdt.dsf.mi.service.IMICommandControl; +import org.eclipse.cdt.dsf.mi.service.IMIProcesses; +import org.eclipse.cdt.dsf.mi.service.MIBreakpointDMData; +import org.eclipse.cdt.dsf.mi.service.MIBreakpoints; +import org.eclipse.cdt.dsf.mi.service.command.CommandFactory; +import org.eclipse.cdt.dsf.mi.service.command.output.MIBreakListInfo; +import org.eclipse.cdt.dsf.mi.service.command.output.MIBreakpoint; +import org.eclipse.cdt.dsf.service.DsfServiceEventHandler; +import org.eclipse.cdt.dsf.service.DsfServicesTracker; +import org.eclipse.cdt.dsf.service.DsfSession; +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IMarker; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.debug.core.DebugException; +import org.eclipse.debug.core.DebugPlugin; +import org.eclipse.debug.core.ILaunch; +import org.eclipse.debug.core.ILaunchConfigurationType; +import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy; +import org.eclipse.debug.core.ILaunchesListener2; +import org.eclipse.debug.internal.ui.viewers.model.provisional.ITreeModelViewer; +import org.eclipse.debug.ui.AbstractDebugView; +import org.eclipse.debug.ui.DebugUITools; +import org.eclipse.debug.ui.IDebugUIConstants; +import org.eclipse.debug.ui.contexts.DebugContextEvent; +import org.eclipse.debug.ui.contexts.IDebugContextListener; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.jface.viewers.StructuredSelection; +import org.eclipse.jface.viewers.Viewer; +import org.eclipse.linuxtools.internal.gdbtrace.GdbTraceCorePlugin; +import org.eclipse.linuxtools.internal.gdbtrace.event.GdbTraceEvent; +import org.eclipse.linuxtools.internal.gdbtrace.event.GdbTraceEventContent; +import org.eclipse.linuxtools.tmf.core.event.ITmfEventType; +import org.eclipse.linuxtools.tmf.core.event.TmfEventField; +import org.eclipse.linuxtools.tmf.core.event.TmfEventType; +import org.eclipse.linuxtools.tmf.core.timestamp.TmfTimestamp; +import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace; +import org.eclipse.linuxtools.tmf.core.trace.TmfExperiment; +import org.eclipse.linuxtools.tmf.ui.editors.ITmfTraceEditor; +import org.eclipse.swt.widgets.Display; +import org.eclipse.ui.IEditorInput; +import org.eclipse.ui.IEditorPart; +import org.eclipse.ui.IEditorReference; +import org.eclipse.ui.IFileEditorInput; +import org.eclipse.ui.IViewPart; +import org.eclipse.ui.IWorkbench; +import org.eclipse.ui.IWorkbenchPage; +import org.eclipse.ui.IWorkbenchWindow; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.ide.IDE; + +/** + * Adaptor to access GDB Tracepoint frames, previously collected and saved in a + * file by GDB. One instance of this maps to a single DSF-GDB session. + *

+ * This class offers the functions of starting a post-mortem GDB session with a + * tracepoint data file, navigate the data frames and return the data contained + * in a given tracepoint frame. + *

+ * Note: GDB 7.2 or later is required to handle tracepoints + * + * @author Marc Dumais + * @author Francois Chouinard + */ +@SuppressWarnings("restriction") +public class DsfGdbAdaptor { + + private GdbTrace fGdbTrace; + + private int fNumberOfFrames = 0; + + private ILaunch fLaunch; + private boolean isTerminating; + private DsfSession fDsfSession = null; + private String fSessionId; + + private String tracedExecutable = ""; //$NON-NLS-1$ + + private String gdb72Executable = ""; //$NON-NLS-1$ + private String fTraceFilePath = ""; //$NON-NLS-1$ + private String fTraceFile = ""; //$NON-NLS-1$ + private String sourceLocator = ""; //$NON-NLS-1$ + + // To save tracepoints detailed info. The key is the rank of the + // breakpoint (tracepoint is a kind of breakpoint) + private Map fTpInfo = new HashMap(); + + private TmfEventType tmfEventType = new TmfEventType(ITmfEventType.DEFAULT_CONTEXT_ID, "GDB Tracepoint", TmfEventField.makeRoot(new String[] { "Content" })); //$NON-NLS-1$ //$NON-NLS-2$ + + @SuppressWarnings("unused") + private static DsfGdbPlatformEventListener fPlatformEventListener = new DsfGdbPlatformEventListener(); + + /** + * DsfGdbPlatformEventListener + *

+ * Listens to platform and DSF-GDB events that announce important events + * about the launchers or a change in debug context that we might need to + * react-to. + *

+ * @author Francois Chouinard + */ + private static class DsfGdbPlatformEventListener implements + ILaunchesListener2, IDebugContextListener { + + /** + * + */ + public DsfGdbPlatformEventListener() { + Display.getDefault().syncExec(new Runnable() { + @Override + public void run() { + DebugPlugin.getDefault().getLaunchManager().addLaunchListener(DsfGdbPlatformEventListener.this); + IWorkbench wb = PlatformUI.getWorkbench(); + IWorkbenchWindow win = wb.getActiveWorkbenchWindow(); + DebugUITools.getDebugContextManager().getContextService(win).addDebugContextListener(DsfGdbPlatformEventListener.this); + } + }); + } + + @Override + public synchronized void launchesRemoved(ILaunch[] launches) { + } + + @Override + public synchronized void launchesAdded(ILaunch[] launches) { + } + + @Override + public synchronized void launchesChanged(ILaunch[] launches) { + } + + @Override + public synchronized void launchesTerminated(ILaunch[] launches) { + for (ILaunch launch : launches) { + String sessionId = ((GdbLaunch) launch).getSession().getId(); + closeGdbTraceEditor(sessionId); + } + } + + private String fCurrentSessionId = ""; //$NON-NLS-1$ + @Override + public void debugContextChanged(DebugContextEvent event) { + ISelection selection = event.getContext(); + if (selection instanceof IStructuredSelection) { + List eventContextList = ((IStructuredSelection) selection).toList(); + for (Object eventContext : eventContextList) { + if (eventContext instanceof IAdaptable) { + IDMContext context = (IDMContext) ((IAdaptable) eventContext).getAdapter(IDMContext.class); + if (context != null) { + String sessionId; + synchronized(fCurrentSessionId) { + sessionId = context.getSessionId(); + if (sessionId.equals(fCurrentSessionId)) { + return; + } + } + fCurrentSessionId = sessionId; + // Get the current trace record + final DsfExecutor executor = DsfSession.getSession(sessionId).getExecutor(); + final DsfServicesTracker tracker = new DsfServicesTracker(GdbTraceCorePlugin.getBundleContext(), sessionId); + Query getCurrentRecordQuery = new Query() { + @Override + public void execute(final DataRequestMonitor queryRm) { + final IGDBTraceControl traceControl = tracker.getService(IGDBTraceControl.class); + final ICommandControlService commandControl = tracker.getService(ICommandControlService.class); + if (traceControl != null && commandControl != null) { + ITraceTargetDMContext traceContext = (ITraceTargetDMContext) commandControl.getContext(); + traceControl.getCurrentTraceRecordContext(traceContext, queryRm); + } else { + queryRm.done(); + } + } + }; + try { + executor.execute(getCurrentRecordQuery); + ITraceRecordDMContext record = getCurrentRecordQuery.get(); + // If we get a trace record, it means that this can be used + if (record != null && record.getRecordId() != null) { + int recordId = Integer.parseInt(record.getRecordId()); + selectGdbTraceEditor(sessionId, recordId); + break; + } + } catch (InterruptedException e) { + } catch (java.util.concurrent.ExecutionException e) { + } catch (RejectedExecutionException e) { + } finally { + tracker.dispose(); + } + // else not DSF-GDB or GDB < 7.2 + } + } + // else not DSF + } + } + } + } // class DsfGdbPlatformEventListener + + /** + * Constructor for DsfGdbAdaptor. This is used when we want to launch a + * DSF-GDB session and use it as source in our tracing perspective. + * i.e. when launching from the Project Explorer + * + * @param trace the GDB trace + * @param gdbExec GDB executable. Must be version 7.2 or later. + * @param traceFile previously generated GDB tracepoint file + * @param tracedExecutable executable that was used to generate the tracefile + * workspace, where the traced executable was taken from. + */ + public DsfGdbAdaptor(GdbTrace trace, String gdbExec, String traceFile, String tracedExecutable) { + this.fGdbTrace = trace; + this.gdb72Executable = gdbExec; + this.fTraceFilePath = traceFile; + this.fTraceFile = traceFile.substring(traceFile.lastIndexOf(IPath.SEPARATOR) + 1); + this.tracedExecutable = tracedExecutable; + + try { + launchDGBPostMortemTrace(); + } catch (CoreException e) { + e.printStackTrace(); + } + } + + /** + * Builds a launcher and launches a Post-mortem GDB session, based on a + * previously-gathered GDB Tracepoint file. The information used to + * create the launcher is provided to the constructor of this class, + * at instantiation time. + *

+ * Note: Requires GDB 7.2 or later + */ + private void launchDGBPostMortemTrace() throws CoreException { + + ILaunchConfigurationType configType = DebugPlugin + .getDefault() + .getLaunchManager() + .getLaunchConfigurationType("org.eclipse.cdt.launch.postmortemLaunchType"); //$NON-NLS-1$ + ILaunchConfigurationWorkingCopy wc = configType.newInstance(null, fTraceFile); + + wc.setAttribute("org.eclipse.cdt.dsf.gdb.DEBUG_NAME", gdb72Executable); //$NON-NLS-1$ + wc.setAttribute("org.eclipse.cdt.dsf.gdb.POST_MORTEM_TYPE", "TRACE_FILE"); //$NON-NLS-1$ //$NON-NLS-2$ + wc.setAttribute("org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR", 0); //$NON-NLS-1$ + wc.setAttribute("org.eclipse.cdt.launch.COREFILE_PATH", fTraceFilePath); //$NON-NLS-1$ + wc.setAttribute("org.eclipse.cdt.launch.DEBUGGER_START_MODE", "core"); //$NON-NLS-1$ //$NON-NLS-2$ + wc.setAttribute("org.eclipse.cdt.launch.PROGRAM_NAME", tracedExecutable); //$NON-NLS-1$ + // So that the GDB launch is synchronous + wc.setAttribute("org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND", false); //$NON-NLS-1$ + + if (!sourceLocator.isEmpty()) { + wc.setAttribute("org.eclipse.debug.core.source_locator_memento", sourceLocator); //$NON-NLS-1$ + } + + // Launch GDB session + fLaunch = wc.doSave().launch("debug", null); //$NON-NLS-1$ + isTerminating = false; + + if (fLaunch instanceof GdbLaunch) { + fSessionId = ((GdbLaunch) fLaunch).getSession().getId(); + } + + fDsfSession = ((GdbLaunch) fLaunch).getSession(); + fDsfSession.addServiceEventListener(this, null); + + // Find the number of frames contained in the tracepoint file + fNumberOfFrames = findNumFrames(); + } + + /** + * This method terminates the current DSF-GDB session + */ + public void dispose() { + if (fLaunch != null && fLaunch.canTerminate() && !isTerminating) { + isTerminating = true; + GdbUIPlugin.getShell().getDisplay().asyncExec(new Runnable() { + @Override + public void run() { + try { + fLaunch.terminate(); + } catch (DebugException e) { + e.printStackTrace(); + } + fLaunch = null; + } + }); + } + } + + /** + * This method will try (once per call) to get the number of GDB tracepoint + * frames for the current session, from DSF-GDB, until it succeeds at + * getting an amount different than zero. + * + * @return The number of frames in current session or zero if unsuccessful + */ + public int getNumberOfFrames() { + if (fNumberOfFrames == 0) { + fNumberOfFrames = findNumFrames(); + } + return fNumberOfFrames; + } + + + /** + * Wrapper around the selecting of a frame and the reading of its + * information. this is a work-around for the potential problem of + * concurrent access to these functions by more than one thread, + * where two clients might interfere with each other. + *

+ * Note: We also try to get the tracepoint info here, if it's not + * already filled-in. + * + * @param rank a long corresponding to the number of the frame to be + * selected and read + * @return A GdbTraceEvent object, or null in case of failure. + */ + public synchronized GdbTraceEvent selectAndReadFrame(final long rank) { + // lazy init of tracepoints info + if(fTpInfo.isEmpty()) { + getTracepointInfo(); + } + if (selectDataFrame(rank, false)) { + GdbTraceEvent event = getTraceFrameData(rank); + long ts = event.getTimestamp().getValue(); + if (ts == rank) { + return event; + } + } + return null; + } + + + /** + * This class implements a best-effort look-up of the detailed tracepoint + * information (source code filename, line number, etc...). + */ + private void getTracepointInfo() { + + // Get the latest executor/service tracker + final DsfExecutor executor = DsfSession.getSession(fSessionId).getExecutor(); + final DsfServicesTracker tracker = new DsfServicesTracker(GdbTraceCorePlugin.getBundleContext(), fSessionId); + + Query selectRecordQuery = new Query() { + @Override + public void execute(final DataRequestMonitor drm) { + + // A breakpoint is no longer GDB-global but tied to a specific process + // So we need to find our process and the ask for its breakpoints + IMIProcesses procService = tracker.getService(IMIProcesses.class); + final ICommandControlService cmdControl = tracker.getService(ICommandControlService.class); + if (procService == null || cmdControl == null) { + drm.setStatus(new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID, IDsfStatusConstants.INTERNAL_ERROR, "Could not find necessary services", null)); //$NON-NLS-1$ + drm.done(); + return; + } + + ITraceTargetDMContext context = (ITraceTargetDMContext) cmdControl.getContext(); + ICommandControlDMContext cmdControlDMC = DMContexts.getAncestorOfType(context, ICommandControlDMContext.class); + + procService.getProcessesBeingDebugged( + cmdControlDMC, + new DataRequestMonitor(executor, drm) { + @Override + protected void handleSuccess() { + assert getData() != null; + assert getData().length == 1; + if (getData() == null || getData().length < 1) { + drm.done(); + return; + } + + // Choose the first process for now, until gdb can tell + // us which process the trace record is associated with. + IContainerDMContext containerDMC = (IContainerDMContext)(getData()[0]); + IBreakpointsTargetDMContext bpTargetDMC = DMContexts.getAncestorOfType(containerDMC , IBreakpointsTargetDMContext.class); + + CommandFactory cmdFactory = tracker.getService(IMICommandControl.class).getCommandFactory(); + IBreakpoints bpService = tracker.getService(MIBreakpoints.class); + if (cmdFactory == null || bpService == null) { + drm.setStatus(new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID, IDsfStatusConstants.INTERNAL_ERROR, "Could not find necessary services", null)); //$NON-NLS-1$ + drm.done(); + return; + } + + // Execute the command + cmdControl.queueCommand(cmdFactory.createMIBreakList(bpTargetDMC), + new DataRequestMonitor(executor, drm) { + @Override + protected void handleSuccess() { + MIBreakpoint[] breakpoints = getData().getMIBreakpoints(); + for (int i = 0; i < breakpoints.length; i++) { + MIBreakpointDMData breakpoint = new MIBreakpointDMData(breakpoints[i]); + String type = breakpoint.getBreakpointType(); + // Only save info if the current breakpoint is of type tracepoint + if(type.compareTo(MIBreakpoints.TRACEPOINT) == 0 ) { + fTpInfo.put(new Integer(breakpoint.getReference()), breakpoint); + } + } + drm.done(); + } + }); + } + }); + } + }; + try { + executor.execute(selectRecordQuery); + selectRecordQuery.get(); // blocks + } catch (RejectedExecutionException e) { + + } catch (InterruptedException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } catch (ExecutionException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } finally { + tracker.dispose(); + } + } + + /** + * Returns the number of frames contained in currently loaded tracepoint GDB + * session. + *

+ * Note: A postmortem GDB session must be started before calling + * this method + * + * @return the number of frames contained in currently loaded tracepoint GDB + * session or zero in case of error + */ + private synchronized int findNumFrames() { + int frameNum = 0; + + if (DsfSession.getSession(fSessionId) == null) { + return 0; + } + + final DsfExecutor executor = DsfSession.getSession(fSessionId) + .getExecutor(); + final DsfServicesTracker tracker = new DsfServicesTracker( + GdbTraceCorePlugin.getBundleContext(), fSessionId); + + Query selectRecordQuery = new Query() { + @Override + public void execute( + final DataRequestMonitor queryRm) { + final IGDBTraceControl traceControl = tracker + .getService(IGDBTraceControl.class); + + final ICommandControlService commandControl = tracker + .getService(ICommandControlService.class); + final ITraceTargetDMContext dmc = (ITraceTargetDMContext) commandControl + .getContext(); + + if (traceControl != null) { + traceControl.getTraceStatus(dmc, queryRm); + } else { + queryRm.done(); + } + } + }; + try { + executor.execute(selectRecordQuery); + ITraceStatusDMData data = selectRecordQuery.get(); // blocks + frameNum = data.getNumberOfCollectedFrame(); + } catch (InterruptedException e) { + + } catch (java.util.concurrent.ExecutionException e) { + + } catch (RejectedExecutionException e) { + + } finally { + tracker.dispose(); + } + return frameNum; + } + + /** + * This method uses the DSF-GDB interface to select a given frame number + * in the current GDB tracepoint session. + * + * @param rank the rank of the tracepoint frame to select. + * @param update true if visualization should be updated + * @return boolean true if select worked. + */ + public boolean selectDataFrame(final long rank, final boolean update) { + boolean status = true; + + final DsfSession dsfSession = DsfSession.getSession(fSessionId); + if (dsfSession == null) { + return false; + } + + if (update) { + /* + * Clear the selection to ensure that the new selection is not + * prevented from overriding the current selection by the DSF + * selection policy. This could be removed when DSF provides + * an API to force the trace record selection in the Debug view. + */ + Display.getDefault().syncExec(new Runnable() { + @Override + public void run() { + for (IWorkbenchWindow wbWindow : PlatformUI.getWorkbench().getWorkbenchWindows()) { + for (IWorkbenchPage wbPage : wbWindow.getPages()) { + IViewPart vp = wbPage.findView(IDebugUIConstants.ID_DEBUG_VIEW); + if (vp instanceof AbstractDebugView) { + Viewer viewer = ((AbstractDebugView) vp).getViewer(); + if (viewer instanceof ITreeModelViewer) { + ((ITreeModelViewer) viewer).setSelection(StructuredSelection.EMPTY, false, true); + } + } + } + } + } + }); + } + + final DsfExecutor executor = dsfSession.getExecutor(); + final DsfServicesTracker tracker = new DsfServicesTracker(GdbTraceCorePlugin.getBundleContext(), fSessionId); + + Query selectRecordQuery = new Query() { + @Override + public void execute(final DataRequestMonitor queryRm) { + final IGDBTraceControl traceControl = tracker.getService(IGDBTraceControl.class); + + final ICommandControlService commandControl = tracker.getService(ICommandControlService.class); + final ITraceTargetDMContext dmc = (ITraceTargetDMContext) commandControl.getContext(); + + if (traceControl != null) { + ITraceRecordDMContext newCtx = traceControl.createTraceRecordContext(dmc, Integer.toString((int) rank)); + if (update) { + dsfSession.dispatchEvent(new TraceRecordSelectedChangedEvent(newCtx), new Hashtable()); + } + traceControl.selectTraceRecord(newCtx, queryRm); + } else { + queryRm.done(); + } + } + }; + try { + executor.execute(selectRecordQuery); + selectRecordQuery.get(); // blocks + } catch (InterruptedException e) { + status = false; + } catch (java.util.concurrent.ExecutionException e) { + status = false; + } catch (RejectedExecutionException e) { + status = false; + } finally { + tracker.dispose(); + } + return status; + } + + /** + * This method uses DSF-GDB to read the currently selected GDB tracepoint + * data frame. An object of type GdbTraceEvent is build based on the + * information contained in the data frame and returned to the caller. + *

+ * NOTE : A frame must be selected before calling this method! + * + * @param rank for internal purposes - does not control which + * frame will be read! + * @return parsed tp frame, in the form of a GdbTraceEvent + */ + private GdbTraceEvent getTraceFrameData(final long rank) { + + if (DsfSession.getSession(fSessionId) == null) { + return null; + } + + final DsfExecutor executor = DsfSession.getSession(fSessionId).getExecutor(); + final DsfServicesTracker tracker = new DsfServicesTracker(GdbTraceCorePlugin.getBundleContext(), fSessionId); + + Query getFrameDataQuery = new Query() { + @Override + public void execute(final DataRequestMonitor rm) { + final IGDBTraceControl traceControl = tracker.getService(IGDBTraceControl.class); + + final ICommandControlService commandControl = tracker.getService(ICommandControlService.class); + final ITraceTargetDMContext dmc = (ITraceTargetDMContext) commandControl.getContext(); + + if (traceControl != null) { + traceControl.getCurrentTraceRecordContext(dmc, + new DataRequestMonitor(executor, rm) { + @Override + protected void handleSuccess() { + traceControl.getTraceRecordData(getData(), rm); + } + }); + } else { + rm.done(); + } + } + }; + try { + // Execute the above query + executor.execute(getFrameDataQuery); + ITraceRecordDMData data = getFrameDataQuery.get(); // blocking call + + if (data == null) { + return null; + } + + String ts = data.getTimestamp(); + if (ts == null) { + ts = "0"; //$NON-NLS-1$ + } + + // get corresponding TP data + String tmfEventRef; + MIBreakpointDMData bp = fTpInfo.get(Integer.valueOf(data.getTracepointNumber())); + if (bp != null) { + tmfEventRef = bp.getFileName() + ":" + bp.getLineNumber() + " :: " + bp.getFunctionName(); //$NON-NLS-1$ //$NON-NLS-2$ + } + else { + tmfEventRef = tracedExecutable; + } + + GdbTraceEventContent evContent = new GdbTraceEventContent( + data.getContent(), + Integer.parseInt(data.getTracepointNumber()), + Integer.parseInt(data.getRecordId())); + + GdbTraceEvent ev = new GdbTraceEvent(fGdbTrace, + new TmfTimestamp(Integer.parseInt(data.getRecordId())), + "Tracepoint: " + data.getTracepointNumber() + ", Frame: " + data.getRecordId(), //$NON-NLS-1$ //$NON-NLS-2$ + tmfEventType, + evContent, + tmfEventRef); + + return ev; + + } catch (InterruptedException e) { + return createExceptionEvent(rank, "Interruption exception"); //$NON-NLS-1$ + } catch (java.util.concurrent.ExecutionException e) { + return createExceptionEvent(rank, "GDB exception"); //$NON-NLS-1$ + } catch (RejectedExecutionException e) { + return createExceptionEvent(rank, "Request rejected exception"); //$NON-NLS-1$ + } catch (Exception e) { + return createExceptionEvent(rank, "General exception"); //$NON-NLS-1$ + } + + finally { + tracker.dispose(); + } + } + + /** + * This is a helper method for getTraceFrameData, to create for it a + * "best effort" GdbTraceEvent when a problem occurs during the reading. + * + * @param rank long containing the number of the frame where the problem occurred + * @param message String containing a brief explanation of problem. + * @return a GdbTraceEvent object, filled as best as possible + */ + private GdbTraceEvent createExceptionEvent(final long rank, final String message) { + // get corresponding TP data + String tmfEventRef; + String tmfEventSrc; + MIBreakpointDMData bp = fTpInfo.get(rank); + if (bp != null) { + tmfEventRef = bp.getFileName() + ":" + bp.getLineNumber() + " :: " + bp.getFunctionName(); //$NON-NLS-1$ //$NON-NLS-2$ + tmfEventSrc = bp.getFileName() + " :: " + bp.getFunctionName() + ", line: " + bp.getLineNumber(); //$NON-NLS-1$ //$NON-NLS-2$ + } + else { + tmfEventRef = tracedExecutable; + tmfEventSrc = "Tracepoint: n/a"; //$NON-NLS-1$ + } + + GdbTraceEventContent evContent = new GdbTraceEventContent("ERROR: " + message, 0, 0); //$NON-NLS-1$ + + GdbTraceEvent ev = new GdbTraceEvent(fGdbTrace, + new TmfTimestamp(rank), + tmfEventSrc, + tmfEventType, + evContent, + tmfEventRef); + + return ev; + } + + /** + * @return DSF-GDB session id of the current session. + */ + public String getSessionId() { + return fSessionId; + } + + /** + * Handler method that catches the DSF "record selected changed" event. + * It in turn creates a TMF "time sync" signal. + * @param event TraceRecordSelectedChangedEvent: The DSF event. + */ + @DsfServiceEventHandler + public void handleDSFRecordSelectedEvents(final ITraceRecordSelectedChangedDMEvent event) { + if (event instanceof TraceRecordSelectedChangedEvent) { + TraceRecordSelectedChangedEvent traceEvent = (TraceRecordSelectedChangedEvent) event; + ITraceRecordDMContext context = traceEvent.getDMContext(); + final String reference = context.getRecordId(); + if (reference != null) { + int recordId = Integer.parseInt(reference); + selectGdbTraceEditor(context.getSessionId(), recordId); + } + } + } + + private static void closeGdbTraceEditor(final String sessionId) { + Display.getDefault().asyncExec(new Runnable() { + @Override + public void run() { + for (IWorkbenchWindow wbWindow : PlatformUI.getWorkbench().getWorkbenchWindows()) { + for (IWorkbenchPage wbPage : wbWindow.getPages()) { + for (IEditorReference editorReference : wbPage.getEditorReferences()) { + IEditorPart editor = editorReference.getEditor(false); + if (editor instanceof ITmfTraceEditor) { + ITmfTrace trace = ((ITmfTraceEditor) editor).getTrace(); + if (trace instanceof GdbTrace) { + if (((GdbTrace) trace).getDsfSessionId().equals(sessionId)) { + wbPage.closeEditor(editor, false); + } + } + } + } + } + } + } + }); + } + + private static void selectGdbTraceEditor(final String sessionId, final int recordId) { + Display.getDefault().asyncExec(new Runnable() { + @Override + public void run() { + for (IWorkbenchWindow wbWindow : PlatformUI.getWorkbench().getWorkbenchWindows()) { + for (IWorkbenchPage wbPage : wbWindow.getPages()) { + for (IEditorReference editorReference : wbPage.getEditorReferences()) { + IEditorPart editor = editorReference.getEditor(false); + if (editor instanceof ITmfTraceEditor) { + ITmfTrace trace = ((ITmfTraceEditor) editor).getTrace(); + if (trace instanceof GdbTrace) { + if (((GdbTrace) trace).getDsfSessionId().equals(sessionId)) { + wbPage.bringToTop(editor); + if (recordId != -1) { + gotoRank(editor, recordId); + } + return; + } + } else if (trace instanceof TmfExperiment) { + TmfExperiment experiment = (TmfExperiment) trace; + int nbTraces = experiment.getTraces().length; + for (int i = 0; i < nbTraces; i++) { + GdbTrace gdbTrace = (GdbTrace) experiment.getTraces()[i]; + if (gdbTrace.getDsfSessionId().equals(sessionId)) { + wbPage.bringToTop(editor); + if (recordId != -1) { + int rank = recordId * nbTraces + i; + gotoRank(editor, rank); + } + return; + } + } + } + } + } + } + } + } + }); + } + + private static void gotoRank(IEditorPart editor, int rank) { + IEditorInput editorInput = editor.getEditorInput(); + if (editorInput instanceof IFileEditorInput) { + IFile file = ((IFileEditorInput) editorInput).getFile(); + try { + final IMarker marker = file.createMarker(IMarker.MARKER); + marker.setAttribute(IMarker.LOCATION, (Integer) rank); + IDE.gotoMarker(editor, marker); + marker.delete(); + } catch (CoreException e) { + e.printStackTrace(); + } + } + } +} \ No newline at end of file diff --git a/org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/trace/GdbTrace.java b/org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/trace/GdbTrace.java new file mode 100644 index 0000000000..f0a05a53b0 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.core/src/org/eclipse/linuxtools/internal/gdbtrace/trace/GdbTrace.java @@ -0,0 +1,179 @@ +/******************************************************************************* + * Copyright (c) 2011, 2013 Ericsson + * + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Marc Dumais - Initial implementation + * Francois Chouinard - Initial API and implementation + * Patrick Tasse - Updated for TMF 2.0 + *******************************************************************************/ + +package org.eclipse.linuxtools.internal.gdbtrace.trace; + +import org.eclipse.core.resources.IProject; +import org.eclipse.core.resources.IResource; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.QualifiedName; +import org.eclipse.linuxtools.internal.gdbtrace.GdbTraceCorePlugin; +import org.eclipse.linuxtools.internal.gdbtrace.event.GdbTraceEvent; +import org.eclipse.linuxtools.tmf.core.event.ITmfEvent; +import org.eclipse.linuxtools.tmf.core.exceptions.TmfTraceException; +import org.eclipse.linuxtools.tmf.core.timestamp.ITmfTimestamp; +import org.eclipse.linuxtools.tmf.core.trace.ITmfContext; +import org.eclipse.linuxtools.tmf.core.trace.ITmfEventParser; +import org.eclipse.linuxtools.tmf.core.trace.ITmfLocation; +import org.eclipse.linuxtools.tmf.core.trace.TmfContext; +import org.eclipse.linuxtools.tmf.core.trace.TmfLongLocation; +import org.eclipse.linuxtools.tmf.core.trace.TmfTrace; + +/** + * GDB Tracepoint extension of TmfTrace. This class implements the necessary + * methods and functionalities so that a GDB tracepoint file can be used by + * the TMF framework as a "tracer". + *

+ * @author Marc Dumais + * @author Francois Chouinard + */ +public class GdbTrace extends TmfTrace implements ITmfEventParser { + + // ------------------------------------------------------------------------ + // Constants + // ------------------------------------------------------------------------ + + private static final int CACHE_SIZE = 20; + private static final String GDB_EXECUTABLE = "gdb"; //$NON-NLS-1$ + + /** The qualified name for the 'executable' persistent property */ + public static final QualifiedName EXEC_KEY = new QualifiedName(GdbTraceCorePlugin.PLUGIN_ID, "executable"); //$NON-NLS-1$ + + // ------------------------------------------------------------------------ + // Attributes + // ------------------------------------------------------------------------ + + // Interface to access GDB Tracepoints + private DsfGdbAdaptor fGdbTpRef; + private long fNbFrames = 0; + + // The trace location + long fLocation; + + // ------------------------------------------------------------------------ + // Constructor + // ------------------------------------------------------------------------ + + /** + * Default constructor + */ + public GdbTrace() { + setCacheSize(CACHE_SIZE); + } + + @Override + public boolean validate(IProject project, String path) { + return fileExists(path); + } + + @Override + public void initTrace(IResource resource, String path, Class type) throws TmfTraceException { + try { + String tracedExecutable = resource.getPersistentProperty(EXEC_KEY); + if (tracedExecutable == null) { + throw new TmfTraceException("Trace executable not set"); //$NON-NLS-1$ + } + fGdbTpRef = new DsfGdbAdaptor(this, GDB_EXECUTABLE, path, tracedExecutable); + fNbFrames = fGdbTpRef.getNumberOfFrames(); + } catch (CoreException e) { + throw new TmfTraceException("Failed to initialize trace", e); //$NON-NLS-1$ + } + + super.initTrace(resource, path, type); + } + + @Override + public synchronized void dispose() { + if (fGdbTpRef != null) { + fGdbTpRef.dispose(); + } + super.dispose(); + } + + /** + * @return GDB-DSF session id + */ + public String getDsfSessionId () { + return fGdbTpRef.getSessionId(); + } + + /** + * @return the number of frames in current tp session + */ + public long getNbFrames () { + fNbFrames = fGdbTpRef.getNumberOfFrames(); + return fNbFrames; + } + + // ------------------------------------------------------------------------ + // TmfTrace + // ------------------------------------------------------------------------ + + @Override + public synchronized TmfContext seekEvent(ITmfLocation location) { + fLocation = (location != null) ? ((Long) location.getLocationInfo()) : 0; + return new TmfContext(new TmfLongLocation(fLocation), fLocation); + } + + @Override + public synchronized ITmfContext seekEvent(double ratio) { + TmfContext context = seekEvent((long) ratio * getNbEvents()); + return context; + } + + @Override + public double getLocationRatio(ITmfLocation location) { + if (getNbEvents() > 0 && location instanceof TmfLongLocation) { + return (double) ((TmfLongLocation) location).getLocationInfo() / getNbEvents(); + } + return 0; + } + + @Override + public ITmfLocation getCurrentLocation() { + return new TmfLongLocation(fLocation); + } + + @Override + public GdbTraceEvent parseEvent(ITmfContext context) { + if (context.getRank() >= fNbFrames) { + return null; + } + // work-around to ensure that the select and parse of trace frame will be atomic + GdbTraceEvent event = fGdbTpRef.selectAndReadFrame(context.getRank()); + fLocation++; + return event; + } + + @Override + public synchronized TmfContext seekEvent(ITmfTimestamp timestamp) { + long rank = timestamp.getValue(); + return seekEvent(rank); + } + + @Override + public synchronized TmfContext seekEvent(long rank) { + fLocation = rank; + TmfContext context = new TmfContext(new TmfLongLocation(fLocation), rank); + return context; + } + + /** + * Select a frame and update the visualization + * @param rank the rank + */ + public void selectFrame(long rank) { + fGdbTpRef.selectDataFrame(rank, true); + } +} \ No newline at end of file diff --git a/org.eclipse.linuxtools.gdbtrace.help/.empty.dtd b/org.eclipse.linuxtools.gdbtrace.help/.empty.dtd new file mode 100644 index 0000000000..e69de29bb2 diff --git a/org.eclipse.linuxtools.gdbtrace.help/.externalToolBuilders/Help Builder.launch b/org.eclipse.linuxtools.gdbtrace.help/.externalToolBuilders/Help Builder.launch new file mode 100644 index 0000000000..d957d91a62 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.help/.externalToolBuilders/Help Builder.launch @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/org.eclipse.linuxtools.gdbtrace.help/.gitignore b/org.eclipse.linuxtools.gdbtrace.help/.gitignore new file mode 100644 index 0000000000..543917f24d --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.help/.gitignore @@ -0,0 +1,3 @@ +Linux_Tools_Project/ +target +toc.xml diff --git a/org.eclipse.linuxtools.gdbtrace.help/.project b/org.eclipse.linuxtools.gdbtrace.help/.project new file mode 100644 index 0000000000..8a62159ee4 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.help/.project @@ -0,0 +1,36 @@ + + + org.eclipse.linuxtools.gdbtrace.help + + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.ui.externaltools.ExternalToolBuilder + clean,full,incremental, + + + LaunchConfigHandle + <project>/.externalToolBuilders/Help Builder.launch + + + incclean + true + + + + + + org.eclipse.pde.PluginNature + + diff --git a/org.eclipse.linuxtools.gdbtrace.help/.settings/org.eclipse.core.resources.prefs b/org.eclipse.linuxtools.gdbtrace.help/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..99f26c0203 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.help/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.eclipse.linuxtools.gdbtrace.help/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.linuxtools.gdbtrace.help/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..5a0ad22d2a --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.help/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +line.separator=\n diff --git a/org.eclipse.linuxtools.gdbtrace.help/META-INF/MANIFEST.MF b/org.eclipse.linuxtools.gdbtrace.help/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..e4227bbf34 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.help/META-INF/MANIFEST.MF @@ -0,0 +1,8 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-Vendor: %Bundle-Vendor +Bundle-Version: 1.0.0.qualifier +Bundle-Localization: plugin +Bundle-SymbolicName: org.eclipse.linuxtools.gdbtrace.help;singleton:=true +Require-Bundle: org.eclipse.help diff --git a/org.eclipse.linuxtools.gdbtrace.help/README b/org.eclipse.linuxtools.gdbtrace.help/README new file mode 100644 index 0000000000..d617d59678 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.help/README @@ -0,0 +1,19 @@ +This describes how to build the documentation found in the o.e.l.gdbtrace.help +plugin. + + +Your Eclipse environment first needs to have the "Mylyn Wikitext" plugin +installed. It can be found in the default Eclipse repository, under +"Collaboration". + +Once that is installed, you should be able to use the manual Eclipse builder to +generate the doc : select the gdbtrace.help plugin and choose, in the top-menu, +"Project -> Build Project". + +It uses the build.xml Ant script, but it's recommended to run it from within +Eclipse, since the builder will pass some environment variables that the script +needs. + +You might get a warning from build.properties because of a missing file. This +file gets generated with the rest of the doc, so once you have run these steps +(and refreshed the project if needed), the warning should disappear. \ No newline at end of file diff --git a/org.eclipse.linuxtools.gdbtrace.help/about.html b/org.eclipse.linuxtools.gdbtrace.help/about.html new file mode 100644 index 0000000000..c258ef55d8 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.help/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 5, 2006

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/org.eclipse.linuxtools.gdbtrace.help/book.css b/org.eclipse.linuxtools.gdbtrace.help/book.css new file mode 100644 index 0000000000..797473964a --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.help/book.css @@ -0,0 +1,59 @@ +/* following font face declarations need to be removed for DBCS */ + + +body, h1, h2, h3, h4, p, table, td, caption, th, ul, ol, dl, li, dd, dt {font-family: Arial, sans-serif; color: #000000} +pre { font-family: Courier, monospace} + +/* end font face declarations */ + +/* following font size declarations should be OK for DBCS */ +body, h1, h2, h3, h4, p, table, td, caption, th, ul, ol, dl, li, dd, dt {font-size: 12pt; } +pre { font-size: 12pt} + +/* end font size declarations */ + +body { background: #FFFFFF} +h1 { font-size: 18pt; margin-top: 5; margin-bottom: 1 } +h2 { font-size: 14pt; margin-top: 25; margin-bottom: 3 } +h3 { font-size: 11pt; margin-top: 20; margin-bottom: 3 } +h4 { font-size: 10pt; margin-top: 20; margin-bottom: 3; font-style: italic } +h5 { font size: 13.5pt; } +p { font-size: 12pt; } +pre { margin-left: 6; font-size: 9pt } + +a:link { color: #006699 } +a:visited { color: #996699 } +a:hover { color: #006699 } + +ul { margin-top: 0; margin-bottom: 10 } +li { margin-top: 0; margin-bottom: 0 } +li p { margin-top: 0; margin-bottom: 0 } +ol { margin-top: 0; margin-bottom: 10 } +dl { margin-top: 0; margin-bottom: 10 } +dt { margin-top: 0; margin-bottom: 0; font-weight: bold } +dd { margin-top: 0; margin-bottom: 0 } +strong { font-weight: bold} +em { font-style: italic} +var { font-style: italic} +div.revision { border-left-style: solid; border-left-width: thin; + border-left-color: #7B68EE; padding-left:5 } +th { font-weight: bold } +.hidden { + display: none; +} + +/* Mike Behm's addition to the style sheet */ +.userinput { font-family: monospace; } +.guitab, .important, .guibutton, .selectblue, .guimenu, .guilabel, +.notetitle { + color: #000000; + font-family: helvetica, arial, sans-serif; + font-weight: bold; + } +div.linux {display:none;} +.firsterm {font-style:italic;} + +.typewriter {font-family:monospace;} +.bold {font-weight:600;} +.linethrough {text-decoration: line-through;} +.underline {text-decoration: underline;} diff --git a/org.eclipse.linuxtools.gdbtrace.help/build.properties b/org.eclipse.linuxtools.gdbtrace.help/build.properties new file mode 100644 index 0000000000..d56e7edcc9 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.help/build.properties @@ -0,0 +1,8 @@ +bin.includes = META-INF/,\ + about.html,\ + book.css,\ + doc/,\ + plugin.properties,\ + plugin.xml +jars.extra.classpath = platform:/plugin/org.eclipse.mylyn.wikitext.core,\ + platform:/plugin/org.eclipse.mylyn.wikitext.mediawiki.core diff --git a/org.eclipse.linuxtools.gdbtrace.help/build.xml b/org.eclipse.linuxtools.gdbtrace.help/build.xml new file mode 100644 index 0000000000..c04017d9b0 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.help/build.xml @@ -0,0 +1,99 @@ + + + + + Generate Eclipse help content for the Linux Tools GDB Tracepoint Analysis user guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + += Updating This Document = + +This document is maintained in a collaborative wiki. If you wish to update or modify this document please visit +http://wiki.eclipse.org/Linux_Tools_Project/GDB_Tracepoint_Analysis/User_Guide. + + + + + + + + + + + + + + + + + diff --git a/org.eclipse.linuxtools.gdbtrace.help/doc/.gitignore b/org.eclipse.linuxtools.gdbtrace.help/doc/.gitignore new file mode 100644 index 0000000000..28d48547c4 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.help/doc/.gitignore @@ -0,0 +1,2 @@ +*.html +*.xml diff --git a/org.eclipse.linuxtools.gdbtrace.help/doc/User-Guide.mediawiki b/org.eclipse.linuxtools.gdbtrace.help/doc/User-Guide.mediawiki new file mode 100644 index 0000000000..fbf0883c2d --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.help/doc/User-Guide.mediawiki @@ -0,0 +1,13 @@ + += Overview = + +TODO + += References = + +* [http://wiki.eclipse.org/index.php/Linux_Tools_Project/LTTng2/User_Guide LTTng User Guide] +* [http://wiki.eclipse.org/CDT/User/FAQ#How_can_I_trace_my_application_using_C.2FC.2B.2B_Tracepoints.3F CDT FAQ - How can I trace my application using C/C++ Tracepoints?] + += Updating This Document = + +This document is maintained in a collaborative wiki. If you wish to update or modify this document please visit [http://wiki.eclipse.org/index.php/Linux_Tools_Project/GDB_Tracepoint_Analysis/User_Guide http://wiki.eclipse.org/Linux_Tools_Project/GDB_Tracepoint_Analysis/User_Guide] diff --git a/org.eclipse.linuxtools.gdbtrace.help/doc/images/home.gif b/org.eclipse.linuxtools.gdbtrace.help/doc/images/home.gif new file mode 100644 index 0000000000000000000000000000000000000000..4472e8ce5b377934abe5910749b8c58591947424 GIT binary patch literal 582 zcmZ?wbhEHb6krfwc*ek>=hf;IH{B?(Il6LneC_)9y7e)Ys}kzgCpT_NZrqsBx;3M1 zYfjfr^Oy#Un1=ILZ(q4_=gaqB7ao7P|N7gr_usES|9bEBw__J?ox6Jb!jmu8UwnP~ z{`vgb@~XsXFsG`()# z)P`jC{<4g|#s1N-6zpQh%P)>bdmCa1Pm6E7bp=kA^+FJoIr3lG~V zK1Oy9RsvS`)>ACq4Fq%r%-n6-%-!@?>#ouFG;c9<)mp7~V2zfGUbChqzqhxVj+(c! zgob7dgSf1qs*0+ttT;m}qx_@Cj~QFpq($VE-iU}uGq>`{h>0ocD2NHm@U(JENoiR` mTx3|l#@Z^BazerJ04F22v4Td(0)|Fr1|zv05e@+g4Aub9HpVdk literal 0 HcmV?d00001 diff --git a/org.eclipse.linuxtools.gdbtrace.help/doc/images/next.gif b/org.eclipse.linuxtools.gdbtrace.help/doc/images/next.gif new file mode 100644 index 0000000000000000000000000000000000000000..e2f8c3e1feeb0541239db4061812008af2225105 GIT binary patch literal 327 zcmZ?wbhEHb6krfwxXQrr@9+D+zn}g6e)He2XMaAO`UhluzxDUq&A;Dn{du|K&)c1U zKb`yw6#sVf_k*54PiFppGV{-i6@Ol={QGw2@4L-^fP#-_?rjlUS1Po@J+-Dz{8ESgwt+{5*!DHj%yExE6hNr2CLGc8SInS{s zf%p?|dHMv5Uuypo=4xzGc2W`Q5bP2Z;_OjzQJkcxFoj=0Ofg7Flus#0T~$PNfx4R7 K(v?Au4Aua3A9>vX literal 0 HcmV?d00001 diff --git a/org.eclipse.linuxtools.gdbtrace.help/doc/images/prev.gif b/org.eclipse.linuxtools.gdbtrace.help/doc/images/prev.gif new file mode 100644 index 0000000000000000000000000000000000000000..4fb41501036b940c99c8a839d7459c88eb98385c GIT binary patch literal 327 zcmZ?wbhEHb6krfwxXQrr@9+D+zn}g6e)He2XMaAO`UhluzxDUq&A;Dn{du|K&)c1U zKb`yw6#sVf_k*54PiFppGV{-i6@Ol={QGw2@4L-^fP#-_?rjlUS1PoI4}+ox2M@c;!iyI;EP0M4 zDfSD$=;@GFSru%pQBc literal 0 HcmV?d00001 diff --git a/org.eclipse.linuxtools.gdbtrace.help/plugin.properties b/org.eclipse.linuxtools.gdbtrace.help/plugin.properties new file mode 100644 index 0000000000..7649054b67 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.help/plugin.properties @@ -0,0 +1,3 @@ +#Properties file for org.eclipse.linuxtools.gdbtrace.help +Bundle-Vendor = Eclipse Linux Tools +Bundle-Name = Linux Tools GDB Tracepoint Analysis Help Plug-in \ No newline at end of file diff --git a/org.eclipse.linuxtools.gdbtrace.help/plugin.xml b/org.eclipse.linuxtools.gdbtrace.help/plugin.xml new file mode 100644 index 0000000000..151a1fa4dc --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.help/plugin.xml @@ -0,0 +1,18 @@ + + + + + + + + + diff --git a/org.eclipse.linuxtools.gdbtrace.help/pom.xml b/org.eclipse.linuxtools.gdbtrace.help/pom.xml new file mode 100644 index 0000000000..8c8f3a75fc --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.help/pom.xml @@ -0,0 +1,86 @@ + + + + 4.0.0 + + + linuxtools-lttng-parent + org.eclipse.linuxtools.lttng + 2.0.0-SNAPSHOT + + + org.eclipse.linuxtools.gdbtrace.help + 1.0.0-SNAPSHOT + eclipse-plugin + + Linux Tools GDB Tracepoint Analysis Help Plug-in + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + generate-documentation + generate-sources + + Generating GDB Tracepoint Analysis Help Files + + + + + + + run + + + + clean-documentation + clean + + Cleaning up generated GDB Tracepoint Analysis Help Files + + + + + + run + + + + + + + org.apache.ant + ant + 1.8.1 + + + + org.apache.ant + ant-launcher + 1.8.1 + + + + org.apache.ant + ant-nodeps + 1.8.1 + + + + + + + + org.eclipse.linuxtools.gdbtrace + diff --git a/org.eclipse.linuxtools.gdbtrace.ui.tests/.classpath b/org.eclipse.linuxtools.gdbtrace.ui.tests/.classpath new file mode 100644 index 0000000000..ad32c83a78 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui.tests/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/org.eclipse.linuxtools.gdbtrace.ui.tests/.project b/org.eclipse.linuxtools.gdbtrace.ui.tests/.project new file mode 100644 index 0000000000..c5c1c59018 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui.tests/.project @@ -0,0 +1,34 @@ + + + org.eclipse.linuxtools.gdbtrace.ui.tests + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.pde.api.tools.apiAnalysisBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.api.tools.apiAnalysisNature + + diff --git a/org.eclipse.linuxtools.gdbtrace.ui.tests/.settings/org.eclipse.core.resources.prefs b/org.eclipse.linuxtools.gdbtrace.ui.tests/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..99f26c0203 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui.tests/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.eclipse.linuxtools.gdbtrace.ui.tests/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.linuxtools.gdbtrace.ui.tests/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..5a0ad22d2a --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui.tests/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +line.separator=\n diff --git a/org.eclipse.linuxtools.gdbtrace.ui.tests/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.linuxtools.gdbtrace.ui.tests/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..bca8c277d1 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui.tests/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,389 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=enabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.doc.comment.support=enabled +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=enabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=warning +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=warning +org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=warning +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=enabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocComments=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=all_standard_tags +org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=warning +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=warning +org.eclipse.jdt.core.compiler.problem.nullReference=error +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=warning +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=warning +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=warning +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=disabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=disabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=disabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=0 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=80 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=false +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=250 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=space +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=false +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true diff --git a/org.eclipse.linuxtools.gdbtrace.ui.tests/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.linuxtools.gdbtrace.ui.tests/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 0000000000..4fd0c7006a --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui.tests/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,56 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_profile=_tmf-style +formatter_settings_version=12 +sp_cleanup.add_default_serial_version_id=true +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=false +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=true +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=false +sp_cleanup.format_source_code=false +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=true +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=true +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=false +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=true +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=false +sp_cleanup.remove_unnecessary_nls_tags=false +sp_cleanup.remove_unused_imports=false +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=true +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=true +sp_cleanup.remove_unused_private_types=true +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_blocks=true +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true diff --git a/org.eclipse.linuxtools.gdbtrace.ui.tests/META-INF/MANIFEST.MF b/org.eclipse.linuxtools.gdbtrace.ui.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..a07f89490b --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui.tests/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-Vendor: %Bundle-Vendor +Bundle-Version: 1.0.0.qualifier +Bundle-Localization: plugin +Bundle-SymbolicName: org.eclipse.linuxtools.gdbtrace.ui.tests +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Fragment-Host: org.eclipse.linuxtools.gdbtrace.ui +Require-Bundle: org.junit;bundle-version="4.0.0" diff --git a/org.eclipse.linuxtools.gdbtrace.ui.tests/build.properties b/org.eclipse.linuxtools.gdbtrace.ui.tests/build.properties new file mode 100644 index 0000000000..aa1a008269 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui.tests/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.properties diff --git a/org.eclipse.linuxtools.gdbtrace.ui.tests/plugin.properties b/org.eclipse.linuxtools.gdbtrace.ui.tests/plugin.properties new file mode 100644 index 0000000000..0d5228b49d --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui.tests/plugin.properties @@ -0,0 +1,3 @@ +#Properties file for org.eclipse.linuxtools.gdbtrace.ui.tests +Bundle-Vendor = Eclipse Linux Tools +Bundle-Name = Linux Tools GDB Tracepoint Analysis UI Tests Plug-in diff --git a/org.eclipse.linuxtools.gdbtrace.ui.tests/pom.xml b/org.eclipse.linuxtools.gdbtrace.ui.tests/pom.xml new file mode 100644 index 0000000000..d7c5576bda --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui.tests/pom.xml @@ -0,0 +1,44 @@ + + + + 4.0.0 + + + linuxtools-lttng-parent + org.eclipse.linuxtools.lttng + 2.0.0-SNAPSHOT + + + org.eclipse.linuxtools.gdbtrace.ui.tests + org.eclipse.linuxtools.gdbtrace + 1.0.0-SNAPSHOT + eclipse-test-plugin + + Linux Tools GDB Tracepoint Analysis UI Tests Plug-in + + + + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + org.eclipse.linuxtools.gdbtrace.ui.tests + org.eclipse.linuxtools.gdbtrace.ui.tests.AllGdbTraceUITests + false + false + org.eclipse.sdk.ide + + + + + + diff --git a/org.eclipse.linuxtools.gdbtrace.ui.tests/src/org/eclipse/linuxtools/gdbtrace/ui/tests/AllGdbTraceUITests.java b/org.eclipse.linuxtools.gdbtrace.ui.tests/src/org/eclipse/linuxtools/gdbtrace/ui/tests/AllGdbTraceUITests.java new file mode 100644 index 0000000000..b60e38e5a3 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui.tests/src/org/eclipse/linuxtools/gdbtrace/ui/tests/AllGdbTraceUITests.java @@ -0,0 +1,27 @@ +/******************************************************************************* + * Copyright (c) 2013 Ericsson + * + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Patrick Tasse - Initial API and implementation + *******************************************************************************/ + +package org.eclipse.linuxtools.gdbtrace.ui.tests; + +import org.junit.runner.RunWith; +import org.junit.runners.Suite; + +/** + * Master test suite for GDB Tracepoint Analysis UI. + */ +@RunWith(Suite.class) +@Suite.SuiteClasses({ +}) + +public class AllGdbTraceUITests { + +} diff --git a/org.eclipse.linuxtools.gdbtrace.ui/.classpath b/org.eclipse.linuxtools.gdbtrace.ui/.classpath new file mode 100644 index 0000000000..ad32c83a78 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/org.eclipse.linuxtools.gdbtrace.ui/.gitignore b/org.eclipse.linuxtools.gdbtrace.ui/.gitignore new file mode 100644 index 0000000000..d567ba01e1 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/.gitignore @@ -0,0 +1,2 @@ +bin +target diff --git a/org.eclipse.linuxtools.gdbtrace.ui/.project b/org.eclipse.linuxtools.gdbtrace.ui/.project new file mode 100644 index 0000000000..27c8c19eb2 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/.project @@ -0,0 +1,34 @@ + + + org.eclipse.linuxtools.gdbtrace.ui + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.pde.api.tools.apiAnalysisBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + org.eclipse.pde.api.tools.apiAnalysisNature + + diff --git a/org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.core.resources.prefs b/org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..99f26c0203 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..5a0ad22d2a --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +line.separator=\n diff --git a/org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..bca8c277d1 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,389 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=enabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.doc.comment.support=enabled +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=enabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=warning +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=warning +org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=warning +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=error +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=warning +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=enabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocComments=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=all_standard_tags +org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=warning +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=warning +org.eclipse.jdt.core.compiler.problem.nullReference=error +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=warning +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning +org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=warning +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=warning +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=disabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=disabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=disabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameter=warning +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=0 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=80 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=true +org.eclipse.jdt.core.formatter.join_wrapped_lines=false +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=250 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=space +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=false +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true diff --git a/org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 0000000000..4fd0c7006a --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,56 @@ +eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true +formatter_profile=_tmf-style +formatter_settings_version=12 +sp_cleanup.add_default_serial_version_id=true +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=false +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=true +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=false +sp_cleanup.format_source_code=false +sp_cleanup.format_source_code_changes_only=false +sp_cleanup.make_local_variable_final=false +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=true +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=true +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=false +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=true +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=false +sp_cleanup.remove_unnecessary_nls_tags=false +sp_cleanup.remove_unused_imports=false +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=true +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=true +sp_cleanup.remove_unused_private_types=true +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_blocks=true +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true diff --git a/org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.pde.prefs b/org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.pde.prefs new file mode 100644 index 0000000000..97b4320800 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/.settings/org.eclipse.pde.prefs @@ -0,0 +1,32 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=2 +compilers.p.build.java.compiler=2 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=1 +compilers.p.missing-version-export-package=2 +compilers.p.missing-version-import-package=2 +compilers.p.missing-version-require-bundle=2 +compilers.p.no-required-att=0 +compilers.p.not-externalized-att=2 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/org.eclipse.linuxtools.gdbtrace.ui/META-INF/MANIFEST.MF b/org.eclipse.linuxtools.gdbtrace.ui/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..c3e4a3fc36 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/META-INF/MANIFEST.MF @@ -0,0 +1,25 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-Vendor: %Bundle-Vendor +Bundle-SymbolicName: org.eclipse.linuxtools.gdbtrace.ui;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-Localization: plugin +Bundle-Activator: org.eclipse.linuxtools.internal.gdbtrace.ui.GdbTraceUiPlugin +Require-Bundle: org.eclipse.core.runtime, + org.eclipse.core.resources, + org.eclipse.ui, + org.eclipse.ui.console, + org.eclipse.ui.ide, + org.eclipse.debug.ui, + org.eclipse.linuxtools.tmf.core;bundle-version="2.0.0", + org.eclipse.linuxtools.tmf.ui;bundle-version="2.0.0", + org.eclipse.linuxtools.gdbtrace.core;bundle-version="1.0.0" +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: org.eclipse.linuxtools.internal.gdbtrace.ui;x-internal:=true, + org.eclipse.linuxtools.internal.gdbtrace.ui.views;x-internal:=true, + org.eclipse.linuxtools.internal.gdbtrace.ui.views.events;x-internal:=true, + org.eclipse.linuxtools.internal.gdbtrace.ui.views.project.dialogs;x-internal:=true, + org.eclipse.linuxtools.internal.gdbtrace.ui.views.project.handlers;x-internal:=true +Import-Package: org.eclipse.cdt.core diff --git a/org.eclipse.linuxtools.gdbtrace.ui/about.html b/org.eclipse.linuxtools.gdbtrace.ui/about.html new file mode 100644 index 0000000000..c258ef55d8 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/about.html @@ -0,0 +1,28 @@ + + + + +About + + +

About This Content

+ +

June 5, 2006

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + \ No newline at end of file diff --git a/org.eclipse.linuxtools.gdbtrace.ui/build.properties b/org.eclipse.linuxtools.gdbtrace.ui/build.properties new file mode 100644 index 0000000000..e145afd3b3 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/build.properties @@ -0,0 +1,8 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + icons/,\ + about.html,\ + plugin.xml,\ + plugin.properties diff --git a/org.eclipse.linuxtools.gdbtrace.ui/icons/obj16/gdb_icon16.png b/org.eclipse.linuxtools.gdbtrace.ui/icons/obj16/gdb_icon16.png new file mode 100644 index 0000000000000000000000000000000000000000..89f7666bc411805233b4fc6d753e16c6f3be5571 GIT binary patch literal 330 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=DinK$vl=HlH+5kiEpy*OmP)Gn<$;qh#`=1fbA$PZ!4!i_=SkHwrcz@YFn&INH7A z3)_x_R+BRm+eCvN@M=UJ*U_xlm&AM83a z>*VyJyx6qf?a$2B`HUl`TTYJUGb~h@?4qW=pj6IO>Ghw7b2vq6Sam*M` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.eclipse.linuxtools.gdbtrace.ui/pom.xml b/org.eclipse.linuxtools.gdbtrace.ui/pom.xml new file mode 100644 index 0000000000..3161690340 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/pom.xml @@ -0,0 +1,36 @@ + + + + 4.0.0 + + + linuxtools-lttng-parent + org.eclipse.linuxtools.lttng + 2.0.0-SNAPSHOT + + + org.eclipse.linuxtools.gdbtrace.ui + org.eclipse.linuxtools.gdbtrace + 1.0.0-SNAPSHOT + eclipse-plugin + + Linux Tools GDB Tracepoint Analysis UI Plug-in + + + + + org.eclipse.tycho + tycho-source-plugin + + + + + diff --git a/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/GdbTraceUiPlugin.java b/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/GdbTraceUiPlugin.java new file mode 100644 index 0000000000..c647154aed --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/GdbTraceUiPlugin.java @@ -0,0 +1,73 @@ +/******************************************************************************* + * Copyright (c) 2011, 2013 Ericsson + * + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Francois Chouinard - Initial API and implementation + * Patrick Tasse - Updated for TMF 2.0 + *******************************************************************************/ + +package org.eclipse.linuxtools.internal.gdbtrace.ui; + +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * GDB Tracepoint Analysis UI plug-in activator + * @author Francois Chouinard + */ +public class GdbTraceUiPlugin extends AbstractUIPlugin { + + // ------------------------------------------------------------------------ + // Attributes + // ------------------------------------------------------------------------ + + /** The plug-in ID */ + public static final String PLUGIN_ID = "org.eclipse.linuxtools.gdbtrace.ui"; //$NON-NLS-1$ + + private static GdbTraceUiPlugin plugin; + + // ------------------------------------------------------------------------ + // Constructor + // ------------------------------------------------------------------------ + + /** + * Constructor + */ + public GdbTraceUiPlugin() { + } + + // ------------------------------------------------------------------------ + // AbstractUIPlugin + // ------------------------------------------------------------------------ + + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + @Override + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + // ------------------------------------------------------------------------ + // Accessor + // ------------------------------------------------------------------------ + + /** + * Returns the GDB Tracepoints UI plug-in instance. + * + * @return the GDB Tracepoints UI plug-in instance + */ + public static GdbTraceUiPlugin getDefault() { + return plugin; + } + +} diff --git a/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/GdbPerspectiveFactory.java b/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/GdbPerspectiveFactory.java new file mode 100644 index 0000000000..58e0539aa5 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/GdbPerspectiveFactory.java @@ -0,0 +1,76 @@ +/******************************************************************************* + * Copyright (c) 2011, 2013 Ericsson + * + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Francois Chouinard - Initial API and implementation + * Patrick Tasse - Updated for TMF 2.0 + *******************************************************************************/ + +package org.eclipse.linuxtools.internal.gdbtrace.ui.views; + +import org.eclipse.debug.ui.IDebugUIConstants; +import org.eclipse.linuxtools.internal.gdbtrace.ui.GdbTraceUiPlugin; +import org.eclipse.ui.IFolderLayout; +import org.eclipse.ui.IPageLayout; +import org.eclipse.ui.IPerspectiveFactory; +import org.eclipse.ui.console.IConsoleConstants; + +/** + * GDB Trace perspective factory + * @author Francois Chouinard + */ +public class GdbPerspectiveFactory implements IPerspectiveFactory { + + // ------------------------------------------------------------------------ + // Constants + // ------------------------------------------------------------------------ + + /** The perspective ID */ + public static final String ID = GdbTraceUiPlugin.PLUGIN_ID + ".perspective"; //$NON-NLS-1$ + + // Folders + private static final String EditorArea = IPageLayout.ID_EDITOR_AREA; + private static final String ProjectFolder = "ProjectFolder"; //$NON-NLS-1$ + private static final String ConsoleFolder = "ConsoleFolder"; //$NON-NLS-1$ + private static final String DebugFolder = "DebugFolder"; //$NON-NLS-1$ + private static final String TraceControlFolder = "TraceControlFolder"; //$NON-NLS-1$ + + // Standard Debug Views + private static final String DEBUG_VIEW_ID = IDebugUIConstants.ID_DEBUG_VIEW; + private static final String TRACE_CONTROL_VIEW_ID = "org.eclipse.cdt.dsf.gdb.ui.tracecontrol.view"; //$NON-NLS-1$ + + // Standard Eclipse views + private static final String PROJECT_VIEW_ID = IPageLayout.ID_PROJECT_EXPLORER; + private static final String CONSOLE_VIEW_ID = IConsoleConstants.ID_CONSOLE_VIEW; + + // ------------------------------------------------------------------------ + // IPerspectiveFactory + // ------------------------------------------------------------------------ + + @Override + public void createInitialLayout(IPageLayout layout) { + + layout.setEditorAreaVisible(true); + + // Create the project folder + IFolderLayout projectFolder = layout.createFolder(ProjectFolder, IPageLayout.LEFT, 0.15f, EditorArea); + projectFolder.addView(PROJECT_VIEW_ID); + + // Create the console folder + IFolderLayout consoleFolder = layout.createFolder(ConsoleFolder, IPageLayout.BOTTOM, 0.50f, ProjectFolder); + consoleFolder.addView(CONSOLE_VIEW_ID); + + // Create the debug folder + IFolderLayout debugFolder = layout.createFolder(DebugFolder, IPageLayout.TOP, 0.50f, EditorArea); + debugFolder.addView(DEBUG_VIEW_ID); + + // Create the middle right folder + IFolderLayout traceControlFolder = layout.createFolder(TraceControlFolder, IPageLayout.RIGHT, 0.50f, DebugFolder); + traceControlFolder.addView(TRACE_CONTROL_VIEW_ID); + } +} diff --git a/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/events/GdbEventsTable.java b/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/events/GdbEventsTable.java new file mode 100644 index 0000000000..c842d3ec67 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/events/GdbEventsTable.java @@ -0,0 +1,132 @@ +/******************************************************************************* + * Copyright (c) 2013 Ericsson + * + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Patrick Tasse - Initial API and implementation + *******************************************************************************/ + +package org.eclipse.linuxtools.internal.gdbtrace.ui.views.events; + +import org.eclipse.jface.viewers.ISelectionChangedListener; +import org.eclipse.jface.viewers.SelectionChangedEvent; +import org.eclipse.linuxtools.internal.gdbtrace.event.GdbTraceEvent; +import org.eclipse.linuxtools.internal.gdbtrace.event.GdbTraceEventContent; +import org.eclipse.linuxtools.internal.gdbtrace.trace.GdbTrace; +import org.eclipse.linuxtools.tmf.core.event.ITmfEvent; +import org.eclipse.linuxtools.tmf.core.event.ITmfEventField; +import org.eclipse.linuxtools.tmf.core.event.TmfEventField; +import org.eclipse.linuxtools.tmf.core.signal.TmfSignalHandler; +import org.eclipse.linuxtools.tmf.core.signal.TmfTimeSynchSignal; +import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace; +import org.eclipse.linuxtools.tmf.core.trace.TmfExperiment; +import org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable; +import org.eclipse.linuxtools.tmf.ui.widgets.virtualtable.ColumnData; +import org.eclipse.swt.SWT; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.TableItem; + +/** + * GDB Events Table + * @author Patrick Tasse + * + */ +public class GdbEventsTable extends TmfEventsTable { + + private static final String TRACE_FRAME_COLUMN = GdbTraceEventContent.TRACE_FRAME; + private static final String TRACEPOINT_COLUMN = GdbTraceEventContent.TRACEPOINT; + private static final String FILE_COLUMN = "File"; //$NON-NLS-1$ + private static final String CONTENT_COLUMN = "Content"; //$NON-NLS-1$ + private static final ColumnData[] COLUMN_DATA = new ColumnData[] { + new ColumnData(TRACE_FRAME_COLUMN, 100, SWT.RIGHT), + new ColumnData(TRACEPOINT_COLUMN, 100, SWT.RIGHT), + new ColumnData(FILE_COLUMN, 100, SWT.LEFT), + new ColumnData(CONTENT_COLUMN, 100, SWT.LEFT) + }; + + private GdbTrace fSelectedTrace = null; + private long fSelectedFrame = 0; + + /** + * Constructor + * @param parent the parent + * @param cacheSize the cache size + */ + public GdbEventsTable(Composite parent, int cacheSize) { + super(parent, cacheSize, COLUMN_DATA); + // Set search field ids for event filter + fTable.getColumns()[2].setData(Key.FIELD_ID, ITmfEvent.EVENT_FIELD_REFERENCE); + fTable.getColumns()[3].setData(Key.FIELD_ID, ITmfEvent.EVENT_FIELD_CONTENT); + + // Synchronize currently selected frame in GDB with table selection + addSelectionChangedListener(new ISelectionChangedListener() { + @Override + public void selectionChanged(SelectionChangedEvent e) { + TableItem[] selection = fTable.getSelection(); + if (selection.length > 0) { + TableItem selectedTableItem = selection[0]; + if (selectedTableItem != null) { + Object data = selectedTableItem.getData(); + if (data instanceof GdbTraceEvent) { + GdbTraceEvent event = (GdbTraceEvent) data; + GdbTrace gdbTrace = (GdbTrace) event.getTrace(); + GdbTraceEventContent content = (GdbTraceEventContent) event.getContent(); + gdbTrace.selectFrame(content.getFrameNumber()); + fSelectedTrace = gdbTrace; + fSelectedFrame = content.getFrameNumber(); + return; + } + } + } + fSelectedTrace = null; + } + }); + } + + @Override + public void setTrace(ITmfTrace trace, boolean disposeOnClose) { + super.setTrace(trace, disposeOnClose); + if (trace instanceof GdbTrace) { + fSelectedTrace = (GdbTrace) trace; + fSelectedFrame = 0; + } else if (trace instanceof TmfExperiment) { + TmfExperiment experiment = (TmfExperiment) trace; + if (experiment.getTraces().length > 0) { + fSelectedTrace = (GdbTrace) experiment.getTraces()[0]; + fSelectedFrame = 0; + } + } + } + + @Override + protected void populateCompleted() { + if (fSelectedTrace != null) { + fSelectedTrace.selectFrame(fSelectedFrame); + } + } + + @Override + protected ITmfEventField[] extractItemFields(ITmfEvent event) { + ITmfEventField[] fields = new TmfEventField[0]; + if (event != null) { + GdbTraceEventContent content = (GdbTraceEventContent) event.getContent(); + fields = new TmfEventField[] { + new TmfEventField(TRACE_FRAME_COLUMN, content.getFrameNumber()), + new TmfEventField(TRACEPOINT_COLUMN, content.getTracepointNumber()), + new TmfEventField(FILE_COLUMN, event.getReference()), + new TmfEventField(CONTENT_COLUMN, content.toString()) + }; + } + return fields; + } + + @Override + @TmfSignalHandler + public void currentTimeUpdated(final TmfTimeSynchSignal signal) { + // do not synchronize on time + } +} diff --git a/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/project/dialogs/Messages.java b/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/project/dialogs/Messages.java new file mode 100644 index 0000000000..b1d1c23332 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/project/dialogs/Messages.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2013 Ericsson + * + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Patrick Tasse - Initial API and implementation + *******************************************************************************/ + +package org.eclipse.linuxtools.internal.gdbtrace.ui.views.project.dialogs; + +import org.eclipse.osgi.util.NLS; + +@SuppressWarnings("javadoc") +public class Messages extends NLS { + private static final String BUNDLE_NAME = "org.eclipse.linuxtools.internal.gdbtrace.ui.views.project.dialogs.messages"; //$NON-NLS-1$ + public static String SelectTraceExecutableDialog_BinaryError; + public static String SelectTraceExecutableDialog_Browse; + public static String SelectTraceExecutableDialog_ExecutableName; + public static String SelectTraceExecutableDialog_ExecutablePrompt; + public static String SelectTraceExecutableDialog_Message; + public static String SelectTraceExecutableDialog_Title; + + static { + // initialize resource bundle + NLS.initializeMessages(BUNDLE_NAME, Messages.class); + } + + private Messages() { + } +} diff --git a/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/project/dialogs/SelectTraceExecutableDialog.java b/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/project/dialogs/SelectTraceExecutableDialog.java new file mode 100644 index 0000000000..b27711e646 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/project/dialogs/SelectTraceExecutableDialog.java @@ -0,0 +1,190 @@ +/******************************************************************************* + * Copyright (c) 2011, 2013 Ericsson + * + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Francois Chouinard - Initial API and implementation + * Patrick Tasse - Updated for TMF 2.0 + *******************************************************************************/ + +package org.eclipse.linuxtools.internal.gdbtrace.ui.views.project.dialogs; + +import java.io.File; +import java.io.IOException; +import java.util.Arrays; + +import org.eclipse.cdt.core.CCorePlugin; +import org.eclipse.cdt.core.IBinaryParser; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Path; +import org.eclipse.core.runtime.Status; +import org.eclipse.jface.dialogs.IDialogConstants; +import org.eclipse.linuxtools.internal.gdbtrace.ui.GdbTraceUiPlugin; +import org.eclipse.swt.SWT; +import org.eclipse.swt.events.SelectionAdapter; +import org.eclipse.swt.events.SelectionEvent; +import org.eclipse.swt.graphics.Font; +import org.eclipse.swt.layout.GridData; +import org.eclipse.swt.layout.GridLayout; +import org.eclipse.swt.widgets.Button; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Control; +import org.eclipse.swt.widgets.Event; +import org.eclipse.swt.widgets.FileDialog; +import org.eclipse.swt.widgets.Label; +import org.eclipse.swt.widgets.Listener; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.swt.widgets.Text; +import org.eclipse.ui.dialogs.SelectionStatusDialog; + +/** + * Dialog implementation for the Select Trace Executable command + * + * @author Francois Chouinard + */ +public class SelectTraceExecutableDialog extends SelectionStatusDialog { + + private final IStatus OK_STATUS = new Status(IStatus.OK, GdbTraceUiPlugin.PLUGIN_ID, ""); //$NON-NLS-1$ + private final IStatus PATH_ERROR_STATUS = new Status(IStatus.ERROR, GdbTraceUiPlugin.PLUGIN_ID, Messages.SelectTraceExecutableDialog_Message); + private final IStatus BINARY_ERROR_STATUS = new Status(IStatus.ERROR, GdbTraceUiPlugin.PLUGIN_ID, Messages.SelectTraceExecutableDialog_BinaryError); + + private Text fExecutableNameEntry; + private IPath fExecutablePath; + + /** + * Creates a SelectTraceExecutableDialog + * + * @param parentShell parent of the new dialog + */ + public SelectTraceExecutableDialog(Shell parentShell) { + super(parentShell); + setTitle(Messages.SelectTraceExecutableDialog_Title); + setStatusLineAboveButtons(true); + setHelpAvailable(false); + } + + @Override + protected void computeResult() { + setResult(Arrays.asList(new IPath[] { fExecutablePath })); + } + + @Override + public void create() { + super.create(); + getButton(IDialogConstants.OK_ID).setEnabled(false); + } + + @Override + protected Control createDialogArea(Composite parent) { + Composite composite = (Composite) super.createDialogArea(parent); + composite.setLayout(new GridLayout()); + composite.setLayoutData(new GridData(GridData.FILL_BOTH)); + + createFolderNameGroup(composite); + + setStatusLineAboveButtons(true); + updateStatus(PATH_ERROR_STATUS); + + return composite; + } + + /** + * Creates the folder name specification controls. + * + * @param parent the parent composite + */ + private void createFolderNameGroup(Composite parent) { + final Shell shell = parent.getShell(); + Font font = parent.getFont(); + Composite composite = new Composite(parent, SWT.NONE); + GridLayout layout = new GridLayout(3, false); + composite.setLayout(layout); + composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); + + // Executable name label + Label label = new Label(composite, SWT.NONE); + label.setFont(font); + label.setText(Messages.SelectTraceExecutableDialog_ExecutableName); + + // Executable name entry field + fExecutableNameEntry = new Text(composite, SWT.BORDER); + GridData data = new GridData(GridData.FILL_HORIZONTAL); + data.widthHint = IDialogConstants.ENTRY_FIELD_WIDTH; + fExecutableNameEntry.setLayoutData(data); + fExecutableNameEntry.setFont(font); + fExecutableNameEntry.addListener(SWT.Modify, new Listener() { + @Override + public void handleEvent(Event event) { + fExecutablePath = Path.fromOSString(fExecutableNameEntry.getText()); + if (! validateExecutableName()) { + updateStatus(PATH_ERROR_STATUS); + } else if (! validateExecutableBinary()) { + updateStatus(BINARY_ERROR_STATUS); + } else { + updateStatus(OK_STATUS); + } + } + }); + + // Browse button + Button browseExecutableButton = new Button(composite, SWT.NONE); + browseExecutableButton.setText(Messages.SelectTraceExecutableDialog_Browse); + browseExecutableButton.addSelectionListener(new SelectionAdapter() { + @Override + public void widgetSelected(SelectionEvent event) { + FileDialog dlg = new FileDialog(shell); + String workspacePath = ResourcesPlugin.getWorkspace().getRoot().getLocation().toOSString(); + dlg.setFilterPath(workspacePath); + dlg.setText(Messages.SelectTraceExecutableDialog_ExecutablePrompt); + String path = dlg.open(); + if (path != null) { + fExecutableNameEntry.setText(path); + } + } + }); + + } + + /** + * Checks whether the executable location is valid. + */ + private boolean validateExecutableName() { + if (fExecutablePath != null) { + File file = new File(fExecutablePath.toOSString()); + return file.exists() && file.isFile(); + } + return false; + } + + /** + * Checks whether the executable location is a recognized executable. + */ + private boolean validateExecutableBinary() { + try { + IBinaryParser parser = CCorePlugin.getDefault().getDefaultBinaryParser(); + IBinaryParser.IBinaryFile binary = parser.getBinary(fExecutablePath); + if (binary instanceof IBinaryParser.IBinaryObject) { + return true; + } + } catch (CoreException e) { + } catch (IOException e) { + } + return false; + } + + /** + * Returns the selected executable path. + * @return the executable path + */ + public IPath getExecutablePath() { + return fExecutablePath; + } + +} \ No newline at end of file diff --git a/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/project/dialogs/messages.properties b/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/project/dialogs/messages.properties new file mode 100644 index 0000000000..443df1b5ed --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/project/dialogs/messages.properties @@ -0,0 +1,6 @@ +SelectTraceExecutableDialog_BinaryError=Selected file is not a GDB recognized executable +SelectTraceExecutableDialog_Browse=Browse... +SelectTraceExecutableDialog_ExecutableName=Executable Path: +SelectTraceExecutableDialog_ExecutablePrompt=Select Executable File +SelectTraceExecutableDialog_Message=Select the executable file that generated this trace +SelectTraceExecutableDialog_Title=Select Executable File diff --git a/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/project/handlers/SelectTraceExecutableHandler.java b/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/project/handlers/SelectTraceExecutableHandler.java new file mode 100644 index 0000000000..3f85857e5b --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace.ui/src/org/eclipse/linuxtools/internal/gdbtrace/ui/views/project/handlers/SelectTraceExecutableHandler.java @@ -0,0 +1,66 @@ +/******************************************************************************* + * Copyright (c) 2013 Ericsson + * + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Patrick Tasse - Initial API and implementation + *******************************************************************************/ + +package org.eclipse.linuxtools.internal.gdbtrace.ui.views.project.handlers; + +import org.eclipse.core.commands.AbstractHandler; +import org.eclipse.core.commands.ExecutionEvent; +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.core.resources.IResource; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IPath; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.jface.window.Window; +import org.eclipse.linuxtools.internal.gdbtrace.trace.GdbTrace; +import org.eclipse.linuxtools.internal.gdbtrace.ui.views.project.dialogs.SelectTraceExecutableDialog; +import org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement; +import org.eclipse.swt.widgets.MessageBox; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.handlers.HandlerUtil; + +/** + * Handler for the Select Trace Excecutable command + * @author Patrick Tasse + */ +public class SelectTraceExecutableHandler extends AbstractHandler { + + @Override + public Object execute(ExecutionEvent event) throws ExecutionException { + Shell shell = HandlerUtil.getActiveShell(event); + SelectTraceExecutableDialog dialog = new SelectTraceExecutableDialog(shell); + dialog.open(); + if (dialog.getReturnCode() != Window.OK) { + return null; + } + IPath tracedExecutable = dialog.getExecutablePath(); + + ISelection selection = HandlerUtil.getCurrentSelection(event); + if (selection instanceof IStructuredSelection) { + for (Object o : ((IStructuredSelection) selection).toList()) { + TmfTraceElement traceElement = (TmfTraceElement) o; + IResource resource = traceElement.getResource(); + try { + resource.setPersistentProperty(GdbTrace.EXEC_KEY, tracedExecutable.toString()); + } catch (CoreException e) { + final MessageBox mb = new MessageBox(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell()); + mb.setText(e.getClass().getName()); + mb.setMessage(e.getMessage()); + mb.open(); + } + } + } + return null; + } + +} diff --git a/org.eclipse.linuxtools.gdbtrace/.gitignore b/org.eclipse.linuxtools.gdbtrace/.gitignore new file mode 100644 index 0000000000..d567ba01e1 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace/.gitignore @@ -0,0 +1,2 @@ +bin +target diff --git a/org.eclipse.linuxtools.gdbtrace/.project b/org.eclipse.linuxtools.gdbtrace/.project new file mode 100644 index 0000000000..4c937ffeaa --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace/.project @@ -0,0 +1,17 @@ + + + org.eclipse.linuxtools.gdbtrace + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/org.eclipse.linuxtools.gdbtrace/.settings/org.eclipse.core.resources.prefs b/org.eclipse.linuxtools.gdbtrace/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..99f26c0203 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.eclipse.linuxtools.gdbtrace/.settings/org.eclipse.core.runtime.prefs b/org.eclipse.linuxtools.gdbtrace/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..5a0ad22d2a --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +line.separator=\n diff --git a/org.eclipse.linuxtools.gdbtrace/build.properties b/org.eclipse.linuxtools.gdbtrace/build.properties new file mode 100644 index 0000000000..4e034677b7 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace/build.properties @@ -0,0 +1,5 @@ +bin.includes = feature.xml,\ + feature.properties,\ + epl-v10.html,\ + license.html,\ + p2.inf diff --git a/org.eclipse.linuxtools.gdbtrace/epl-v10.html b/org.eclipse.linuxtools.gdbtrace/epl-v10.html new file mode 100644 index 0000000000..9321f4082e --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace/epl-v10.html @@ -0,0 +1,256 @@ + + + + + + +Eclipse Public License - Version 1.0 + + + +

Eclipse Public License - v 1.0

+ +

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE +PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR +DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS +AGREEMENT.

+ +

1. DEFINITIONS

+ +

"Contribution" means:

+ +

a) in the case of the initial Contributor, the initial +code and documentation distributed under this Agreement, and

+

b) in the case of each subsequent Contributor:

+

i) changes to the Program, and

+

ii) additions to the Program;

+

where such changes and/or additions to the Program +originate from and are distributed by that particular Contributor. A +Contribution 'originates' from a Contributor if it was added to the +Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include additions to the +Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) +are not derivative works of the Program.

+ +

"Contributor" means any person or entity that distributes +the Program.

+ +

"Licensed Patents" mean patent claims licensable by a +Contributor which are necessarily infringed by the use or sale of its +Contribution alone or when combined with the Program.

+ +

"Program" means the Contributions distributed in accordance +with this Agreement.

+ +

"Recipient" means anyone who receives the Program under +this Agreement, including all Contributors.

+ +

2. GRANT OF RIGHTS

+ +

a) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free copyright license to reproduce, prepare derivative works +of, publicly display, publicly perform, distribute and sublicense the +Contribution of such Contributor, if any, and such derivative works, in +source code and object code form.

+ +

b) Subject to the terms of this Agreement, each +Contributor hereby grants Recipient a non-exclusive, worldwide, +royalty-free patent license under Licensed Patents to make, use, sell, +offer to sell, import and otherwise transfer the Contribution of such +Contributor, if any, in source code and object code form. This patent +license shall apply to the combination of the Contribution and the +Program if, at the time the Contribution is added by the Contributor, +such addition of the Contribution causes such combination to be covered +by the Licensed Patents. The patent license shall not apply to any other +combinations which include the Contribution. No hardware per se is +licensed hereunder.

+ +

c) Recipient understands that although each Contributor +grants the licenses to its Contributions set forth herein, no assurances +are provided by any Contributor that the Program does not infringe the +patent or other intellectual property rights of any other entity. Each +Contributor disclaims any liability to Recipient for claims brought by +any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses +granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For +example, if a third party patent license is required to allow Recipient +to distribute the Program, it is Recipient's responsibility to acquire +that license before distributing the Program.

+ +

d) Each Contributor represents that to its knowledge it +has sufficient copyright rights in its Contribution, if any, to grant +the copyright license set forth in this Agreement.

+ +

3. REQUIREMENTS

+ +

A Contributor may choose to distribute the Program in object code +form under its own license agreement, provided that:

+ +

a) it complies with the terms and conditions of this +Agreement; and

+ +

b) its license agreement:

+ +

i) effectively disclaims on behalf of all Contributors +all warranties and conditions, express and implied, including warranties +or conditions of title and non-infringement, and implied warranties or +conditions of merchantability and fitness for a particular purpose;

+ +

ii) effectively excludes on behalf of all Contributors +all liability for damages, including direct, indirect, special, +incidental and consequential damages, such as lost profits;

+ +

iii) states that any provisions which differ from this +Agreement are offered by that Contributor alone and not by any other +party; and

+ +

iv) states that source code for the Program is available +from such Contributor, and informs licensees how to obtain it in a +reasonable manner on or through a medium customarily used for software +exchange.

+ +

When the Program is made available in source code form:

+ +

a) it must be made available under this Agreement; and

+ +

b) a copy of this Agreement must be included with each +copy of the Program.

+ +

Contributors may not remove or alter any copyright notices contained +within the Program.

+ +

Each Contributor must identify itself as the originator of its +Contribution, if any, in a manner that reasonably allows subsequent +Recipients to identify the originator of the Contribution.

+ +

4. COMMERCIAL DISTRIBUTION

+ +

Commercial distributors of software may accept certain +responsibilities with respect to end users, business partners and the +like. While this license is intended to facilitate the commercial use of +the Program, the Contributor who includes the Program in a commercial +product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor +includes the Program in a commercial product offering, such Contributor +("Commercial Contributor") hereby agrees to defend and +indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") +arising from claims, lawsuits and other legal actions brought by a third +party against the Indemnified Contributor to the extent caused by the +acts or omissions of such Commercial Contributor in connection with its +distribution of the Program in a commercial product offering. The +obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In +order to qualify, an Indemnified Contributor must: a) promptly notify +the Commercial Contributor in writing of such claim, and b) allow the +Commercial Contributor to control, and cooperate with the Commercial +Contributor in, the defense and any related settlement negotiations. The +Indemnified Contributor may participate in any such claim at its own +expense.

+ +

For example, a Contributor might include the Program in a commercial +product offering, Product X. That Contributor is then a Commercial +Contributor. If that Commercial Contributor then makes performance +claims, or offers warranties related to Product X, those performance +claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to +defend claims against the other Contributors related to those +performance claims and warranties, and if a court requires any other +Contributor to pay any damages as a result, the Commercial Contributor +must pay those damages.

+ +

5. NO WARRANTY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely +responsible for determining the appropriateness of using and +distributing the Program and assumes all risks associated with its +exercise of rights under this Agreement , including but not limited to +the risks and costs of program errors, compliance with applicable laws, +damage to or loss of data, programs or equipment, and unavailability or +interruption of operations.

+ +

6. DISCLAIMER OF LIABILITY

+ +

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING +WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR +DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED +HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+ +

7. GENERAL

+ +

If any provision of this Agreement is invalid or unenforceable under +applicable law, it shall not affect the validity or enforceability of +the remainder of the terms of this Agreement, and without further action +by the parties hereto, such provision shall be reformed to the minimum +extent necessary to make such provision valid and enforceable.

+ +

If Recipient institutes patent litigation against any entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other +software or hardware) infringes such Recipient's patent(s), then such +Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed.

+ +

All Recipient's rights under this Agreement shall terminate if it +fails to comply with any of the material terms or conditions of this +Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If all Recipient's rights +under this Agreement terminate, Recipient agrees to cease use and +distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by +Recipient relating to the Program shall continue and survive.

+ +

Everyone is permitted to copy and distribute copies of this +Agreement, but in order to avoid inconsistency the Agreement is +copyrighted and may only be modified in the following manner. The +Agreement Steward reserves the right to publish new versions (including +revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse +Foundation is the initial Agreement Steward. The Eclipse Foundation may +assign the responsibility to serve as the Agreement Steward to a +suitable separate entity. Each new version of the Agreement will be +given a distinguishing version number. The Program (including +Contributions) may always be distributed subject to the version of the +Agreement under which it was received. In addition, after a new version +of the Agreement is published, Contributor may elect to distribute the +Program (including its Contributions) under the new version. Except as +expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under +this Agreement, whether expressly, by implication, estoppel or +otherwise. All rights in the Program not expressly granted under this +Agreement are reserved.

+ +

This Agreement is governed by the laws of the State of New York and +the intellectual property laws of the United States of America. No party +to this Agreement will bring a legal action under this Agreement more +than one year after the cause of action arose. Each party waives its +rights to a jury trial in any resulting litigation.

+ + \ No newline at end of file diff --git a/org.eclipse.linuxtools.gdbtrace/feature.properties b/org.eclipse.linuxtools.gdbtrace/feature.properties new file mode 100644 index 0000000000..4697a4f389 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace/feature.properties @@ -0,0 +1,146 @@ +#******************************************************************************* +# Copyright (c) 2013 Ericsson +# 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 +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Ericsson - Initial API and implementation +#******************************************************************************** + +featureName=GDB Tracepoint Analysis + +description=Plug-ins to integrate GDB tracepoint analysis into the workbench. \ +Includes the TMF (Tracing and Monitoring Framework) feature. + +featureProvider=Eclipse Linux Tools + +copyright=Copyright 2013 Ericsson + +licenseURL=license.html + +license=\ +Eclipse Foundation Software User Agreement\n\ +February 1, 2011\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ + - Content may be structured and packaged into modules to facilitate delivering,\n\ + extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ + plug-in fragments ("Fragments"), and features ("Features").\n\ + - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ + in a directory named "plugins".\n\ + - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ + Each Feature may be packaged as a sub-directory in a directory named "features".\n\ + Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ + numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ + - Features may also include other Features ("Included Features"). Within a Feature, files\n\ + named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ + - The top-level (root) directory\n\ + - Plug-in and Fragment directories\n\ + - Inside Plug-ins and Fragments packaged as JARs\n\ + - Sub-directories of the directory named "src" of certain Plug-ins\n\ + - Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ + - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ + - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ + - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ + - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ + - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\ + - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ + 1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ + the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ + extending or updating the functionality of an Eclipse-based product.\n\ + 2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ + Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ + 3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ + govern the use of the Installable Software ("Installable Software Agreement") and such\n\ + Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ + with the Specification. Such Installable Software Agreement must inform the user of the\n\ + terms and conditions that govern the Installable Software and must solicit acceptance by\n\ + the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ + indication of agreement by the user, the provisioning Technology will complete installation\n\ + of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n \ No newline at end of file diff --git a/org.eclipse.linuxtools.gdbtrace/feature.xml b/org.eclipse.linuxtools.gdbtrace/feature.xml new file mode 100644 index 0000000000..4ab2d6fbc2 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace/feature.xml @@ -0,0 +1,63 @@ + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.eclipse.linuxtools.gdbtrace/license.html b/org.eclipse.linuxtools.gdbtrace/license.html new file mode 100644 index 0000000000..6e579a585b --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace/license.html @@ -0,0 +1,164 @@ + + + + +Eclipse Foundation Software User Agreement + + + +

Eclipse Foundation Software User Agreement

+

February 1, 2011

+ +

Usage Of Content

+ +

THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS + (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND + CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE + OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR + NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND + CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.

+ +

Applicable Licenses

+ +

Unless otherwise indicated, all Content made available by the Eclipse + Foundation is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 + ("EPL"). A copy of the EPL is provided with this Content and is also + available at http://www.eclipse.org/legal/epl-v10.html. + For purposes of the EPL, "Program" will mean the Content.

+ +

Content includes, but is not limited to, source code, object code, +documentation and other files maintained in the Eclipse Foundation +source code + repository ("Repository") in software modules ("Modules") and made +available as downloadable archives ("Downloads").

+ +
    +
  • Content may be structured and packaged into modules to +facilitate delivering, extending, and upgrading the Content. Typical +modules may include plug-ins ("Plug-ins"), plug-in fragments +("Fragments"), and features ("Features").
  • +
  • Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
  • +
  • A Feature is a bundle of one or more Plug-ins and/or +Fragments and associated material. Each Feature may be packaged as a +sub-directory in a directory named "features". Within a Feature, files +named "feature.xml" may contain a list of the names and version numbers +of the Plug-ins + and/or Fragments associated with that Feature.
  • +
  • Features may also include other Features ("Included +Features"). Within a Feature, files named "feature.xml" may contain a +list of the names and version numbers of Included Features.
  • +
+ +

The terms and conditions governing Plug-ins and Fragments should be +contained in files named "about.html" ("Abouts"). The terms and +conditions governing Features and +Included Features should be contained in files named "license.html" +("Feature Licenses"). Abouts and Feature Licenses may be located in any + directory of a Download or Module +including, but not limited to the following locations:

+ +
    +
  • The top-level (root) directory
  • +
  • Plug-in and Fragment directories
  • +
  • Inside Plug-ins and Fragments packaged as JARs
  • +
  • Sub-directories of the directory named "src" of certain Plug-ins
  • +
  • Feature directories
  • +
+ +

Note: if a Feature made available by the Eclipse Foundation is +installed using the Provisioning Technology (as defined below), you must + agree to a license ("Feature Update License") during the +installation process. If the Feature contains Included Features, the +Feature Update License should either provide you with the terms and +conditions governing the Included Features or +inform you where you can locate them. Feature Update Licenses may be +found in the "license" property of files named "feature.properties" +found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the +terms and conditions (or references to such terms and conditions) that +govern your use of the associated Content in +that directory.

+ +

THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. + SOME OF THESE +OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):

+ + + +

IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND +CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, +or Feature Update License is provided, please +contact the Eclipse Foundation to determine what terms and conditions +govern that particular Content.

+ + +

Use of Provisioning Technology

+ +

The Eclipse Foundation makes available provisioning software, +examples of which include, but are not limited to, p2 and the Eclipse + Update Manager ("Provisioning Technology") for the purpose of +allowing users to install software, documentation, information and/or + other materials (collectively "Installable Software"). This +capability is provided with the intent of allowing such users to + install, extend and update Eclipse-based products. Information about +packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html + ("Specification").

+ +

You may use Provisioning Technology to allow other parties to install + Installable Software. You shall be responsible for enabling the + applicable license agreements relating to the Installable Software to + be presented to, and accepted by, the users of the Provisioning +Technology + in accordance with the Specification. By using Provisioning +Technology in such a manner and making it available in accordance with +the + Specification, you further acknowledge your agreement to, and the +acquisition of all necessary rights to permit the following:

+ +
    +
  1. A series of actions may occur ("Provisioning Process") in +which a user may execute the Provisioning Technology + on a machine ("Target Machine") with the intent of installing, +extending or updating the functionality of an Eclipse-based + product.
  2. +
  3. During the Provisioning Process, the Provisioning Technology +may cause third party Installable Software or a portion thereof to be + accessed and copied to the Target Machine.
  4. +
  5. Pursuant to the Specification, you will provide to the user +the terms and conditions that govern the use of the Installable + Software ("Installable Software Agreement") and such Installable +Software Agreement shall be accessed from the Target + Machine in accordance with the Specification. Such Installable +Software Agreement must inform the user of the terms and conditions that + govern + the Installable Software and must solicit acceptance by the end +user in the manner prescribed in such Installable Software Agreement. +Upon such + indication of agreement by the user, the provisioning Technology +will complete installation of the Installable Software.
  6. +
+ +

Cryptography

+ +

Content may contain encryption software. The country in which you are + currently may have restrictions on the import, possession, and use, +and/or re-export to + another country, of encryption software. BEFORE using any encryption +software, please check the country's laws, regulations and policies +concerning the import, + possession, or use, and re-export of encryption software, to see if +this is permitted.

+ +

Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.

+ + + \ No newline at end of file diff --git a/org.eclipse.linuxtools.gdbtrace/p2.inf b/org.eclipse.linuxtools.gdbtrace/p2.inf new file mode 100644 index 0000000000..5246a0c824 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace/p2.inf @@ -0,0 +1,3 @@ +instructions.configure=\ +org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//download.eclipse.org/linuxtools/updates-nightly,type:0,name:Linux Tools,enabled:false); \ +org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//download.eclipse.org/linuxtools/updates-nightly,type:1,name:Linux Tools,enabled:false); diff --git a/org.eclipse.linuxtools.gdbtrace/pom.xml b/org.eclipse.linuxtools.gdbtrace/pom.xml new file mode 100644 index 0000000000..0f4bc74d75 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace/pom.xml @@ -0,0 +1,64 @@ + + + + 4.0.0 + + + linuxtools-lttng-parent + org.eclipse.linuxtools.lttng + 2.0.0-SNAPSHOT + + + org.eclipse.linuxtools.gdbtrace + org.eclipse.linuxtools.gdbtrace + 1.0.0-SNAPSHOT + eclipse-feature + + Linux Tools GDB Tracepoint Analysis Feature + + + + + org.eclipse.tycho.extras + tycho-source-feature-plugin + + + source-feature + package + + source-feature + + + + + + + + + + + org.eclipse.tycho + tycho-p2-plugin + ${tycho-version} + + + attached-p2-metadata + package + + p2-metadata + + + + + + + + diff --git a/org.eclipse.linuxtools.gdbtrace/sourceTemplateFeature/feature.properties b/org.eclipse.linuxtools.gdbtrace/sourceTemplateFeature/feature.properties new file mode 100644 index 0000000000..8d1c8b69c3 --- /dev/null +++ b/org.eclipse.linuxtools.gdbtrace/sourceTemplateFeature/feature.properties @@ -0,0 +1 @@ + diff --git a/org.eclipse.linuxtools.lttng.help/plugin.properties b/org.eclipse.linuxtools.lttng.help/plugin.properties index 545f2c39bf..369be1ca58 100644 --- a/org.eclipse.linuxtools.lttng.help/plugin.properties +++ b/org.eclipse.linuxtools.lttng.help/plugin.properties @@ -1,3 +1,3 @@ #Properties file for org.eclipse.linuxtools.lttng.help Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = LTTng Help plug-in \ No newline at end of file +Bundle-Name = Linux Tools LTTng Help Plug-in \ No newline at end of file diff --git a/org.eclipse.linuxtools.lttng.releng-site/category.xml b/org.eclipse.linuxtools.lttng.releng-site/category.xml index fb64672fc5..41539819cf 100644 --- a/org.eclipse.linuxtools.lttng.releng-site/category.xml +++ b/org.eclipse.linuxtools.lttng.releng-site/category.xml @@ -6,5 +6,8 @@ + + + diff --git a/org.eclipse.linuxtools.lttng2.core.tests/plugin.properties b/org.eclipse.linuxtools.lttng2.core.tests/plugin.properties index dce6e823b4..7e4f6843ea 100644 --- a/org.eclipse.linuxtools.lttng2.core.tests/plugin.properties +++ b/org.eclipse.linuxtools.lttng2.core.tests/plugin.properties @@ -1,13 +1,3 @@ -#******************************************************************************* -# Copyright (c) 2012 Ericsson -# 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 -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Ericsson - initial API and implementation -#******************************************************************************** - +#Properties file for org.eclipse.linuxtools.lttng2.core.tests Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = LTTng Core Unit Test Suite \ No newline at end of file +Bundle-Name = Linux Tools LTTng Core Tests Plug-in \ No newline at end of file diff --git a/org.eclipse.linuxtools.lttng2.core.tests/pom.xml b/org.eclipse.linuxtools.lttng2.core.tests/pom.xml index 8187d8f808..028c476fe6 100644 --- a/org.eclipse.linuxtools.lttng2.core.tests/pom.xml +++ b/org.eclipse.linuxtools.lttng2.core.tests/pom.xml @@ -21,7 +21,7 @@ 2.0.0-SNAPSHOT eclipse-test-plugin - Linux Tools LTTng Core Unit Test Suite + Linux Tools LTTng Core Tests Plug-in diff --git a/org.eclipse.linuxtools.lttng2.core/plugin.properties b/org.eclipse.linuxtools.lttng2.core/plugin.properties index b5e23b500e..b78ac4f013 100644 --- a/org.eclipse.linuxtools.lttng2.core/plugin.properties +++ b/org.eclipse.linuxtools.lttng2.core/plugin.properties @@ -1,13 +1,3 @@ -#******************************************************************************* -# Copyright (c) 2012 Ericsson -# 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 -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Ericsson - initial API and implementation -#******************************************************************************** - +#Properties file for org.eclipse.linuxtools.lttng2.core Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = LTTng Core \ No newline at end of file +Bundle-Name = Linux Tools LTTng Core Plug-in \ No newline at end of file diff --git a/org.eclipse.linuxtools.lttng2.kernel.core.tests/plugin.properties b/org.eclipse.linuxtools.lttng2.kernel.core.tests/plugin.properties index dce6e823b4..2a3977f8cd 100644 --- a/org.eclipse.linuxtools.lttng2.kernel.core.tests/plugin.properties +++ b/org.eclipse.linuxtools.lttng2.kernel.core.tests/plugin.properties @@ -1,13 +1,3 @@ -#******************************************************************************* -# Copyright (c) 2012 Ericsson -# 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 -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Ericsson - initial API and implementation -#******************************************************************************** - +#Properties file for org.eclipse.linuxtools.lttng2.kernel.core.tests Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = LTTng Core Unit Test Suite \ No newline at end of file +Bundle-Name = Linux Tools LTTng Kernel Analysis Core Tests Plug-in \ No newline at end of file diff --git a/org.eclipse.linuxtools.lttng2.kernel.core.tests/pom.xml b/org.eclipse.linuxtools.lttng2.kernel.core.tests/pom.xml index dea88f1777..87cea8c9c5 100644 --- a/org.eclipse.linuxtools.lttng2.kernel.core.tests/pom.xml +++ b/org.eclipse.linuxtools.lttng2.kernel.core.tests/pom.xml @@ -21,7 +21,7 @@ 2.0.0-SNAPSHOT eclipse-test-plugin - Linux Tools LTTng Kernel Analysis Core Unit Test Suite + Linux Tools LTTng Kernel Analysis Core Tests Plug-in diff --git a/org.eclipse.linuxtools.lttng2.kernel.core/plugin.properties b/org.eclipse.linuxtools.lttng2.kernel.core/plugin.properties index b5e23b500e..188b577633 100644 --- a/org.eclipse.linuxtools.lttng2.kernel.core/plugin.properties +++ b/org.eclipse.linuxtools.lttng2.kernel.core/plugin.properties @@ -1,13 +1,3 @@ -#******************************************************************************* -# Copyright (c) 2012 Ericsson -# 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 -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Ericsson - initial API and implementation -#******************************************************************************** - +#Properties file for org.eclipse.linuxtools.lttng2.kernel.core Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = LTTng Core \ No newline at end of file +Bundle-Name = Linux Tools LTTng Kernel Analysis Core Plug-in \ No newline at end of file diff --git a/org.eclipse.linuxtools.lttng2.kernel.core/pom.xml b/org.eclipse.linuxtools.lttng2.kernel.core/pom.xml index d118cf8311..43a9c5304d 100644 --- a/org.eclipse.linuxtools.lttng2.kernel.core/pom.xml +++ b/org.eclipse.linuxtools.lttng2.kernel.core/pom.xml @@ -21,7 +21,7 @@ 2.0.0-SNAPSHOT eclipse-plugin - Linux Tools LTTng Kernel Analysis Core + Linux Tools LTTng Kernel Analysis Core Plug-in diff --git a/org.eclipse.linuxtools.lttng2.kernel.ui.tests/plugin.properties b/org.eclipse.linuxtools.lttng2.kernel.ui.tests/plugin.properties index 0215cb26b9..7d684c75c3 100644 --- a/org.eclipse.linuxtools.lttng2.kernel.ui.tests/plugin.properties +++ b/org.eclipse.linuxtools.lttng2.kernel.ui.tests/plugin.properties @@ -1,13 +1,3 @@ -#******************************************************************************* -# Copyright (c) 2012 Ericsson -# 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 -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Ericsson - initial API and implementation -#******************************************************************************** - +#Properties file for org.eclipse.linuxtools.lttng2.kernel.ui.tests Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = LTTng UI Unit Test Suite \ No newline at end of file +Bundle-Name = Linux Tools LTTng Kernel Analysis UI Tests Plug-in \ No newline at end of file diff --git a/org.eclipse.linuxtools.lttng2.kernel.ui.tests/pom.xml b/org.eclipse.linuxtools.lttng2.kernel.ui.tests/pom.xml index e3bb25f36d..d7b1abe8be 100644 --- a/org.eclipse.linuxtools.lttng2.kernel.ui.tests/pom.xml +++ b/org.eclipse.linuxtools.lttng2.kernel.ui.tests/pom.xml @@ -21,7 +21,7 @@ 2.0.0-SNAPSHOT eclipse-test-plugin - Linux Tools LTTng Kernel Analysis UI Unit Test Suite + Linux Tools LTTng Kernel Analysis UI Tests Plug-in diff --git a/org.eclipse.linuxtools.lttng2.kernel.ui/plugin.properties b/org.eclipse.linuxtools.lttng2.kernel.ui/plugin.properties index 5358f07887..ed7989ef21 100644 --- a/org.eclipse.linuxtools.lttng2.kernel.ui/plugin.properties +++ b/org.eclipse.linuxtools.lttng2.kernel.ui/plugin.properties @@ -1,19 +1,7 @@ -#******************************************************************************* -# Copyright (c) 2012 Ericsson -# 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 -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Ericsson - initial API and implementation -#******************************************************************************** - #Properties file for org.eclipse.linuxtools.lttng2.kernel.ui -Bundle-Name = LTTng Kernel UI Bundle-Vendor = Eclipse Linux Tools +Bundle-Name = Linux Tools LTTng Kernel Analysis UI Plug-in -#Properties file for org.eclipse.linuxtools.lttng2.kernel.ui (plugin.xml) kernel.perspective.name = LTTng Kernel controlflow.view.name = Control Flow diff --git a/org.eclipse.linuxtools.lttng2.kernel/feature.properties b/org.eclipse.linuxtools.lttng2.kernel/feature.properties index 45c310b70e..13c6022e8e 100644 --- a/org.eclipse.linuxtools.lttng2.kernel/feature.properties +++ b/org.eclipse.linuxtools.lttng2.kernel/feature.properties @@ -11,7 +11,9 @@ featureName=LTTng Kernel Analysis -description=Plug-ins to integrate LTTng kernel analysis tools into the workbench. Includes the Linux Tracing Toolkit (LTTng) feature. +description=Plug-ins to integrate LTTng kernel analysis tools into the workbench. \ +Includes the LTTng (Linux Tracing Toolkit), TMF (Tracing and Monitoring Framework) \ +and CTF (Common Trace Format) features. featureProvider=Eclipse Linux Tools diff --git a/org.eclipse.linuxtools.lttng2.kernel/pom.xml b/org.eclipse.linuxtools.lttng2.kernel/pom.xml index 346219fbe1..0527625ace 100644 --- a/org.eclipse.linuxtools.lttng2.kernel/pom.xml +++ b/org.eclipse.linuxtools.lttng2.kernel/pom.xml @@ -21,7 +21,7 @@ 2.0.0-SNAPSHOT eclipse-feature - Linux Tools LTTng Kernel Analysis + Linux Tools LTTng Kernel Analysis Feature org.eclipse.linuxtools.lttng2 diff --git a/org.eclipse.linuxtools.lttng2.ui.tests/plugin.properties b/org.eclipse.linuxtools.lttng2.ui.tests/plugin.properties index 671a585cef..9febf7abb9 100644 --- a/org.eclipse.linuxtools.lttng2.ui.tests/plugin.properties +++ b/org.eclipse.linuxtools.lttng2.ui.tests/plugin.properties @@ -1,3 +1,3 @@ -#Properties file for org.eclipse.linuxtools.lttng.ui.tests +#Properties file for org.eclipse.linuxtools.lttng2.ui.tests Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = LTTng UI Unit Test Suite \ No newline at end of file +Bundle-Name = Linux Tools LTTng UI Tests Plug-in \ No newline at end of file diff --git a/org.eclipse.linuxtools.lttng2.ui.tests/pom.xml b/org.eclipse.linuxtools.lttng2.ui.tests/pom.xml index 60433872e1..2d8fb5f5ee 100644 --- a/org.eclipse.linuxtools.lttng2.ui.tests/pom.xml +++ b/org.eclipse.linuxtools.lttng2.ui.tests/pom.xml @@ -21,7 +21,7 @@ 2.0.0-SNAPSHOT eclipse-test-plugin - Linux Tools LTTng UI Unit Test Suite + Linux Tools LTTng UI Tests Plug-in diff --git a/org.eclipse.linuxtools.lttng2.ui/plugin.properties b/org.eclipse.linuxtools.lttng2.ui/plugin.properties index 330fa82fae..7ac86efe40 100644 --- a/org.eclipse.linuxtools.lttng2.ui/plugin.properties +++ b/org.eclipse.linuxtools.lttng2.ui/plugin.properties @@ -1,16 +1,6 @@ -#******************************************************************************* -# Copyright (c) 2012 Ericsson -# 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 -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Ericsson - initial API and implementation -#******************************************************************************** - -Bundle-Name = LTTng UI +#Properties file for org.eclipse.linuxtools.lttng2.ui Bundle-Vendor = Eclipse Linux Tools +Bundle-Name = Linux Tools LTTng UI Plug-in views.category.name = LTTng control.view.name = Control diff --git a/org.eclipse.linuxtools.lttng2/feature.properties b/org.eclipse.linuxtools.lttng2/feature.properties index 4af5b6ec95..bfc650b6a6 100644 --- a/org.eclipse.linuxtools.lttng2/feature.properties +++ b/org.eclipse.linuxtools.lttng2/feature.properties @@ -11,7 +11,8 @@ featureName=LTTng - Linux Tracing Toolkit -description=Plug-ins to integrate LTTng tools into the workbench. Includes the Tracing and Monitoring Framework (TMF) and Common Trace Format (CTF) features. +description=Plug-ins to integrate LTTng tools into the workbench. \ +Includes the TMF (Tracing and Monitoring Framework) and CTF (Common Trace Format) features. featureProvider=Eclipse Linux Tools diff --git a/org.eclipse.linuxtools.lttng2/pom.xml b/org.eclipse.linuxtools.lttng2/pom.xml index a4a08863bc..a82f2d2e9e 100644 --- a/org.eclipse.linuxtools.lttng2/pom.xml +++ b/org.eclipse.linuxtools.lttng2/pom.xml @@ -21,7 +21,7 @@ 2.0.0-SNAPSHOT eclipse-feature - Linux Tools LTTng (Linux Tracing Toolkit) + Linux Tools LTTng (Linux Tracing Toolkit) Feature org.eclipse.linuxtools.lttng2 diff --git a/org.eclipse.linuxtools.tmf.core.tests/plugin.properties b/org.eclipse.linuxtools.tmf.core.tests/plugin.properties index c92c109958..771133c77e 100644 --- a/org.eclipse.linuxtools.tmf.core.tests/plugin.properties +++ b/org.eclipse.linuxtools.tmf.core.tests/plugin.properties @@ -1,3 +1,3 @@ -#Properties file for org.eclipse.linuxtools.tmf.tests +#Properties file for org.eclipse.linuxtools.tmf.core.tests Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = TMF Core Unit Test Suite \ No newline at end of file +Bundle-Name = Linux Tools TMF Core Tests Plug-in \ No newline at end of file diff --git a/org.eclipse.linuxtools.tmf.core.tests/pom.xml b/org.eclipse.linuxtools.tmf.core.tests/pom.xml index 9746475ca7..7c92fb030b 100644 --- a/org.eclipse.linuxtools.tmf.core.tests/pom.xml +++ b/org.eclipse.linuxtools.tmf.core.tests/pom.xml @@ -23,7 +23,7 @@ 2.0.0-SNAPSHOT eclipse-test-plugin - Linux Tools LTTng TMF Core Unit Test Suite + Linux Tools TMF Core Tests Plug-in diff --git a/org.eclipse.linuxtools.tmf.core/plugin.properties b/org.eclipse.linuxtools.tmf.core/plugin.properties index d1662a825a..944b067c0f 100644 --- a/org.eclipse.linuxtools.tmf.core/plugin.properties +++ b/org.eclipse.linuxtools.tmf.core/plugin.properties @@ -1,3 +1,3 @@ -#Properties file for org.eclipse.linuxtools.tmf +#Properties file for org.eclipse.linuxtools.tmf.core Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = TMF Core +Bundle-Name = Linux Tools TMF Core Plug-in diff --git a/org.eclipse.linuxtools.tmf.core/pom.xml b/org.eclipse.linuxtools.tmf.core/pom.xml index ff7fa1538c..1b315e8077 100644 --- a/org.eclipse.linuxtools.tmf.core/pom.xml +++ b/org.eclipse.linuxtools.tmf.core/pom.xml @@ -21,7 +21,7 @@ 2.0.0-SNAPSHOT eclipse-plugin - Linux Tools LTTng TMF Core Plug-in + Linux Tools TMF Core Plug-in diff --git a/org.eclipse.linuxtools.tmf.help/plugin.properties b/org.eclipse.linuxtools.tmf.help/plugin.properties index 5ae8a2dbbf..16ca72e149 100644 --- a/org.eclipse.linuxtools.tmf.help/plugin.properties +++ b/org.eclipse.linuxtools.tmf.help/plugin.properties @@ -1,3 +1,3 @@ #Properties file for org.eclipse.linuxtools.tmf.help Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = TMF Help Plugin +Bundle-Name = Linux Tools TMF Help Plug-in diff --git a/org.eclipse.linuxtools.tmf.ui.tests/plugin.properties b/org.eclipse.linuxtools.tmf.ui.tests/plugin.properties index 4333a8c656..9ed32c0424 100644 --- a/org.eclipse.linuxtools.tmf.ui.tests/plugin.properties +++ b/org.eclipse.linuxtools.tmf.ui.tests/plugin.properties @@ -1,5 +1,6 @@ #Properties file for org.eclipse.linuxtools.tmf.ui.tests Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = TMF UI Unit Test Suite +Bundle-Name = Linux Tools TMF UI Tests Plug-in + tmf.ui.stubs.category.name = TMF UI Stubs tmf.analysis/view.name = TMF Time Analysis View diff --git a/org.eclipse.linuxtools.tmf.ui.tests/pom.xml b/org.eclipse.linuxtools.tmf.ui.tests/pom.xml index f1bf5092a6..3c0bc62ceb 100644 --- a/org.eclipse.linuxtools.tmf.ui.tests/pom.xml +++ b/org.eclipse.linuxtools.tmf.ui.tests/pom.xml @@ -23,7 +23,7 @@ 2.0.0-SNAPSHOT eclipse-test-plugin - Linux Tools LTTng TMF UI Unit Test Suite + Linux Tools TMF UI Tests Plug-in diff --git a/org.eclipse.linuxtools.tmf.ui/plugin.properties b/org.eclipse.linuxtools.tmf.ui/plugin.properties index 73ae5f5b6b..d5b5c7c745 100644 --- a/org.eclipse.linuxtools.tmf.ui/plugin.properties +++ b/org.eclipse.linuxtools.tmf.ui/plugin.properties @@ -1,6 +1,6 @@ -# Properties file for org.eclipse.linuxtools.tmf.ui +#Properties file for org.eclipse.linuxtools.tmf.ui Bundle-Vendor = Eclipse Linux Tools -Bundle-Name = TMF UI +Bundle-Name = Linux Tools TMF UI Plug-in # Perspective and Views names perspective.category.name = Tracing diff --git a/org.eclipse.linuxtools.tmf.ui/pom.xml b/org.eclipse.linuxtools.tmf.ui/pom.xml index fdc0dadb45..ef57860bdc 100644 --- a/org.eclipse.linuxtools.tmf.ui/pom.xml +++ b/org.eclipse.linuxtools.tmf.ui/pom.xml @@ -21,7 +21,7 @@ 2.0.0-SNAPSHOT eclipse-plugin - Linux Tools LTTng TMF UI Plug-in + Linux Tools TMF UI Plug-in diff --git a/org.eclipse.linuxtools.tmf/feature.properties b/org.eclipse.linuxtools.tmf/feature.properties index a5c37ec424..8ecda8f12a 100644 --- a/org.eclipse.linuxtools.tmf/feature.properties +++ b/org.eclipse.linuxtools.tmf/feature.properties @@ -11,7 +11,8 @@ featureName=TMF - Tracing and Monitoring Framework -description=TMF plugins. +description=Plug-ins to integrate TMF into the workbench. \ +Includes the CTF (Common Trace Format) feature. featureProvider=Eclipse Linux Tools diff --git a/org.eclipse.linuxtools.tmf/pom.xml b/org.eclipse.linuxtools.tmf/pom.xml index 298c7e976c..31c9247540 100644 --- a/org.eclipse.linuxtools.tmf/pom.xml +++ b/org.eclipse.linuxtools.tmf/pom.xml @@ -21,7 +21,7 @@ 2.0.0-SNAPSHOT eclipse-feature - Linux Tools LTTng TMF (Tracing and Monitoring Framework) + Linux Tools TMF (Tracing and Monitoring Framework) Feature org.eclipse.linuxtools.tmf diff --git a/pom.xml b/pom.xml index 63022c074e..2e0ea383f2 100644 --- a/pom.xml +++ b/pom.xml @@ -73,23 +73,29 @@ org.eclipse.linuxtools.tmf org.eclipse.linuxtools.tmf.core org.eclipse.linuxtools.tmf.core.tests - org.eclipse.linuxtools.tmf.help org.eclipse.linuxtools.tmf.ui org.eclipse.linuxtools.tmf.ui.tests - - org.eclipse.linuxtools.lttng.help + org.eclipse.linuxtools.tmf.help org.eclipse.linuxtools.lttng2 org.eclipse.linuxtools.lttng2.core org.eclipse.linuxtools.lttng2.core.tests org.eclipse.linuxtools.lttng2.ui org.eclipse.linuxtools.lttng2.ui.tests + org.eclipse.linuxtools.lttng.help org.eclipse.linuxtools.lttng2.kernel org.eclipse.linuxtools.lttng2.kernel.core org.eclipse.linuxtools.lttng2.kernel.core.tests org.eclipse.linuxtools.lttng2.kernel.ui org.eclipse.linuxtools.lttng2.kernel.ui.tests + + org.eclipse.linuxtools.gdbtrace + org.eclipse.linuxtools.gdbtrace.core + org.eclipse.linuxtools.gdbtrace.core.tests + org.eclipse.linuxtools.gdbtrace.ui + org.eclipse.linuxtools.gdbtrace.ui.tests + org.eclipse.linuxtools.gdbtrace.help
-- 2.34.1