Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/jtag
AgeCommit message (Collapse)AuthorFilesLines
2018-11-23Bug 540373: Cleanup: Remove trailing whitespace in properties filesJonah Graham3-5/+5
Command used: # Remove space at eol in comments find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^(#.*)[ \t]+$/\1/' {} + # Remove space at eol in blank lines find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^[ \t]+$//' {} + # Replace escaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\ $/\1\\u0020/' {} + # Replace unescaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\]) $/\1\\u0020/' {} + # Replace escaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\\t$/\1\\u0009/' {} + # Replace unescaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\t$/\1\\u0009/' {} + # Stage all changes git add -A . # trim any remaining whitespace and then identify and fixup # manually # Only dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/MessagesForDebugVM.properties # needed this due to missing newline at end of the file find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/[ \t]+$//' {} + Change-Id: I858f16891fe001f4f7e62d5a4f904146e891cd39
2018-11-22Bug 540373: Remove '(non-Javadoc)' commentsJonah Graham3-20/+0
These were inserted in the past automatically by Eclipse but newer tooling makes them redundant. These were removed by doing a global find/replace on *.java files using the following regular expression: \t/\*\n\t \* \(non-Javadoc\)[^/]*/\n Change-Id: I59d3248020f10934fde1dda5b5a31e20bb188e19
2018-11-22Bug 540373: Cleanup: Remove redundant type argumentsJonah Graham6-19/+19
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Remove redundant type arguments and completing the wizard Change-Id: Iaecc7010f097b4b1fabd29ccaa34ccb23a716fbf
2018-11-22Bug 540373: Cleanup: Add missing annotationsJonah Graham3-0/+5
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Add missing Annotations - and selecting all three types: - @Override - @Override on interface methods - @Deprecated and completing the wizard Change-Id: I5d367dacb04327107f25e147edc08efc4eb1c2fe
2018-11-22Bug 540373: Cleanup: Format & Remove trailing whitespaceJonah Graham35-521/+616
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Format source code - Remove trailing white spaces on all lines and completing the wizard Change-Id: I63685372c6bcc67719bcf145123bcb72e5b00394
2018-11-22Bug 540373: Standard .settings auto appliedJonah Graham20-216/+2861
The releng/scripts/apply_jdt_prefs_to_all_projects.sh was run to copy standard settings to all other projects. Change-Id: I4436c947d7f0142f56b709e661379c3eb54f666b
2018-11-22Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.shJonah Graham54-304/+610
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-10-30Bug 540610 - Add Automatic-Module-Name headerKarsten Thoms3-0/+3
Change-Id: Ia990b24469751050dd9ec8f9b5550804816308b3 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-10-23Bug 540367 - Increment version numbersWilliam Riley1-1/+1
Change-Id: I4a355170a7075f0a98ba3c1a5131c235c89b07d2
2018-09-07Bug 538282: Set architecture for remote GDBJtag testsJohn Dallaway2-0/+9
Change-Id: I0e4e8a345bd5c63116efff2a6b140500f0b77328 Signed-off-by: John Dallaway <john@dallaway.org.uk>
2018-08-27Bug 538282: Add GDB Hardware Debugging launch testJohn Dallaway21-62/+504
Change-Id: I308a6a8d128704f83a5fc220c7c168f56e4fc040 Signed-off-by: John Dallaway <john@dallaway.org.uk>
2018-08-20[releng] Remove outdated problem filters.Jonah Graham1-19/+0
With the 9.5 release, these filters no longer apply to 9.6+ Change-Id: I2cf6b47264f308b3aaf27cd1da1b9a6324c84d2d
2018-06-05[releng] Bump version to 9.6.0Jonah Graham3-3/+3
Change-Id: I1618eaeab14b421155af733a73e36f6e37ea0b85
2018-05-26Bug 535024: Revert increment to major version numberJonah Graham4-7/+27
Within CDT new constants in interfaces do not require major version increment, just a commented API filter. However in this case as the interface is a grabbag for constants, it is even more appropriate to mark it noextend/noimplement Change-Id: I1ac6da12093bdd3e92cfa51c097383c9964f41a2
2018-05-24Bug 535024: Use deviceId for determine JTAG probeTorbjörn Svensson8-50/+122
The name of the JTAG probe is not translateable since the name is saved as-is in the launch configuration. To make the string translateable, use the id instead to select probe implementation. Change-Id: Id7e654ea1e26f47cd1c8ccfec857a94f3be9e0ad Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com> Signed-off-by: John Dallaway <john@dallaway.org.uk>
2018-02-13[releng] Bump version to 9.5.0Jonah Graham3-4/+3
Change-Id: Ie342f02f7aae633f41a7ab7d39c21e056793a04a
2018-02-06Bug 530635: Add ability to do "set remotetimeout" via UIJonah Graham3-9/+58
Change-Id: Iaeaea1e8656d85cb854a5b27f5f212fa37a3159d
2018-02-01Bug 529171: Disable reset and halt by defaultJohn Dallaway2-3/+23
Change-Id: Ic616df36fc9af1877b22f31bfc6ef87fa3366369 Signed-off-by: John Dallaway <john@dallaway.org.uk>
2018-01-21Bug 494059: Add OpenOCD extensionsJohn Dallaway6-4/+84
Change-Id: I0a2820f40c641a85aac11e8d72b6aca65f599b6e Signed-off-by: John Dallaway <john@dallaway.org.uk>
2017-11-01Bug 361881: Test for undefined reset/delay/halt commandJohn Dallaway3-7/+33
Change-Id: I55c7edf41fa8b1d1cef73254d98e596b04c30b51 Signed-off-by: John Dallaway <john@dallaway.org.uk>
2017-10-20Bug 334110: Ensure correct SessionType enabledJohn Dallaway2-2/+14
The DSF-GDB LaunchUtils rely on ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE for correct behaviour. Change-Id: I12ae2dea6918233dc09848b7bbbedc6304294d1a Signed-off-by: John Dallaway <john@dallaway.org.uk>
2017-10-12Allow for changing manually setting toolchains for build configs.Doug Schaefer1-1/+12
A number of changes that clean up how build configs are done. Now build settings are stored with the build config instead of in launch configs. That makes it less launch bar specific. Add build settings UI to change the toolchain used for a given launch config. Also changed CMake so it's IToolchain based instead of property which doesn't work when multiple IToolchains match. Change-Id: I958d90ede3c1f873ab1530c2b2880808e8f7abef
2017-10-12Bug 525726: Use GDB/MI for temporary breakpointJohn Dallaway1-2/+3
Issue a GDB/MI "-break-insert -t -f" command rather than "tbreak" to avoid raising a "=breakpoint-created" event which would trigger the breakpoint synchronizer. Change-Id: I330f3e69fe096cb16791e4d7de7af92b2c9ccd0c Signed-off-by: John Dallaway <john@dallaway.org.uk>
2017-10-08Bug 525692: Execute run commands before resumeJohn Dallaway2-24/+23
The -exec-continue command must be last in the GDB Hardware Debugging launch sequence to ensure any run commands are executed before application code. Change-Id: I1eae32698e80d1c1b36da4bbdf21d85d363bcd05 Signed-off-by: John Dallaway <john@dallaway.org.uk>
2017-10-06Add UI tests plugin for CMake. Fix a couple of bugs it found.Doug Schaefer1-7/+0
Also restructures the pom.xmls to put the modules in the top level so we can order them to have the test plugins build after them. Change-Id: I2f0e4ebd252791fb8844cdf0f635d574946207aa
2017-09-19Reinstate commit 709689b36e1a1ec573d81a02a7e882faabca58e5Jeff Johnston1-0/+18
- This commit is still needed to allow CDT Sonar job to run so that features that have same name as plug-ins will be distinguishable by Sonar job Change-Id: I3eb3f3cf94d5f4338d72c5d19d0baf2f7506c388
2017-09-11Update feature versions to CDT 9.4.Doug Schaefer2-19/+1
Also remove remaining pom.xmls for feature projects. Change-Id: I78d6335f92d70ad2699b8a25801ff72d2935aefe
2017-08-10Bug 519529 - fix handling of quotes in the GCCToolChain scanner info.Doug Schaefer1-10/+0
Some Arduino boards have properties that feed into defines that have spaces in them. The boards.txt property file adds quotes around those things. When resolving the recipe property it results in -D gcc options that have embedded spaces in them. That messes up the ProcessBuilder and the command fails. We'll just strip the quotes from all the command args since they aren't needed in this scenario anyway. Change-Id: I41086ee264b8715823b3eab7931df4371b9ec873 (cherry picked from commit fc7b2f781c4beed99ee7dd3bb18254bfc87deba7)
2017-04-19Bring back some pom.xml from featuresMarc-Andre Laperle1-0/+18
Those features have the exact same id and groupid than a plugin which throws off SonarQube with: "Two modules have the same id: 'org.eclipse.cdt:org.eclipse.cdt.util'. Each module must have a unique id." In the pom.xml, we can specify a different groupid which resolves the problem. Alternatively, the feature id could have been changed but that would break upgrades. Change-Id: Ib2912ad854a3af431b96f89a6ead1bcb6d06ba60 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-02-14releng: Make use of Tycho POM-less functionalityMarc-Andre Laperle5-89/+22
This removes a lot of pom.xml from the source tree. This is using the "POM-less" Tycho functionality. See https://wiki.eclipse.org/Tycho/Release_Notes/0.24#POM-less_Tycho_builds One advantage of this is that you do not need to update the version in the pom.xml when you change it in the MANIFEST.MF because the pom.xml is automatically generated. This also reduces a lot of the duplicated information and pom.xml repetition. - Maven 3.3 and up is required. - Only eclipse-plugins and eclipse-features can be pom-less. Repositories, target and others still have pom.xml. - New parent poms are added because a parent is necessary directly one level above the plug-in/feature that will have its pom generated - Some test plug-ins had to be renamed .test -> .tests because it's required so that it detects that it's a test plug-in - Some suites were renamed so that they all use the same consistent name "AutomatedIntegrationSuite" - Profiles were added for the more common test configurations. They are activated by the presence of simple .properties files that only serve to activate the correct profile. The profiles: - One for UI tests (UI present and start in UI thread) - One for SWTBot tests (UI present and do not start in UI thread) Other test plug-ins that are too different are kept intact and still have a pom.xml - Fragments are kept intact since they all have different target platform configurations Change-Id: I9d73380eb766f547830c552daf08053a30b1845c Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-02-06Bug 511243 - MI async mode shall not be activated for all cases whenAlvaro Sanchez-Leon1-21/+24
using GDB 7.12 This solution makes the following changes: * With GDB 7.12, use async mode as long as the Full GDB console is supported or if the launch is configured for Non stop mode * with GDB 7.12, don't always use MI to interrupt the service, use the CLI when the async mode is off Change-Id: I92c466e028b400f9054298739cd80efac18bd03a
2017-01-23Missing rm.done()Marc Khouzam1-0/+3
Change-Id: I3a0044ea2631fece555d3196c0a91a37e5e455dc
2017-01-17Bug 509812 - Unable to interrupt arm remote target, Neon and GDB 7.12Alvaro Sanchez-Leon8-8/+140
Adding a GDBJtagDSFFinalLaunchSequence_7_12 class to be used when interfacing with GDB 7.12 or higher. A new step is added to the sequence in order to enable async mode, which will allow us to use the new GDBFullCLIConsole Change-Id: I08c382550c6dd8a8567a66169495a9e490c35397
2016-12-21Trigger error in Debug plugins when a package is not exported.Marc Khouzam3-9/+6
Change-Id: I7a76bb65badee7a949e3d0e9abc27ced228e9b7d
2016-11-16Update version to 9.3.0Marc Khouzam5-6/+6
Change-Id: Ic953ccc5d38ff3661ca44de21ed8c4b7dad5b246
2016-11-15Update version to 9.2.0Marc Khouzam5-6/+6
Change-Id: I36ad4218b20b8ea70584c89f5be45c757bf4c714
2016-08-17Update version to 9.1.0Marc Khouzam5-6/+6
This commit used the script releng/scripts/ChangeFeaturesVersion.sh Change-Id: I8274a6e8dd5c0f1e450f07952e138b265a441a62
2016-07-03Create constant for initial GDB inferior 'i1'Marc Khouzam1-1/+2
Change-Id: Ie1c0f52b11ac60735365987c89468917e311bf82
2016-06-22Move the rest of the CDT plugins to java 8Marc Khouzam6-10/+10
This change was generated using the script: releng/scripts/ChangeJavaVersion.sh Change-Id: I2ad96dc682a5acb8529c3edec40de279c331b5a4
2016-04-22Bug 492200 - Replace StringBuffer with StringBuilderAlex Blewitt2-4/+4
There are many opportunities for replacing `StringBuffer` with `StringBuilder` provided that the type isn't visible from the public API and is used only in internal methods. Replace these where appropriate. Change-Id: Ic2f50c5b6f3c3a4eae301bb3b40fb6faed235f79 Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-03-19Bug 484900: Remove CDI JTag Main tabMarc Khouzam1-25/+0
In org.eclipse.cdt.debug.gdbjtag.ui, GDBJtagCDICMainTab.java was removed. GDBJtagDSFCMainTab.java should be used instead. Change-Id: I514ca9238c380d0bb7c73b072049b1062cd81367
2016-03-18Bug 484900: Remove CDI launch delegate for post-mortem and attachMarc Khouzam1-0/+1
Change-Id: I47e28d17eb2bc8b63762f799f93e8a2705d7e815
2016-03-17Bug 488909: Unify services factory classes to extend more easilyMarc Khouzam2-7/+7
From org.eclipse.cdt.debug.gdbjtag.core, constructor GdbJtagDebugServicesFactory.GdbJtagDebugServicesFactory(String) has been replaced by GdbJtagDebugServicesFactory.GdbJtagDebugServicesFactory(String, ILaunchConfiguration) From org.eclipse.cdt.dsf.gdb, constructor GdbDebugServicesFactory.GdbDebugServicesFactory(String) has been replaced by GdbDebugServicesFactory.GdbDebugServicesFactory(String, ILaunchConfiguration) From org.eclipse.cdt.dsf.gdb, class GdbDebugServicesFactoryNS has been removed and its logic was merged into class GdbDebugServicesFactory Change-Id: Ifecba752cfc12da62f1447027b11c0bb1f7c0171
2016-03-09Bug 484900: Remove Majority of CDI classesJonah Graham11-1180/+2
This is the first change to remove CDI from CDT. The CDI model implementation is removed along with everything that directly depends upon the implementation. This commit does not include refactoring or moving classes. The few insertions are the minimum necessary. Change-Id: I80274e1a0d77bc7bb00a2afe4babc00c4f7613ae Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-02-11Update copyright datesMarc Khouzam1-1/+1
Change-Id: I94ac38c37657e270f62db9bbd2859c2c6de40e5f
2016-01-21Bug 486148: Remove support for Apple GDBMarc Khouzam4-44/+2
The following macos packages were removed: org.eclipse.cdt.dsf.gdb.service.macos, org.eclipse.cdt.dsf.mi.service.command.commands.macos, org.eclipse.cdt.dsf.mi.service.command.output.macos org.eclipse.cdt.debug.gdbjtag.core.dsf.gdb.service.macos The following classes, contained in the above packages are now removed: MacOSCommandFactory.java MacOSGDBProcesses.java MacOSGDBRunControl.java MacOSGdbDebugServicesFactory.java MacOSMIEnvironmentCD.java MacOSMIVarUpdate.java MacOSMIVarUpdateInfo.java MacOSGdbJtagDebugServicesFactory.java The constant LaunchUtils.MACOS_GDB_MARKER was removed. Change-Id: Iea54886a02015dd0b11678a0cd5d911bed129485
2016-01-18Incremented CDT features version to 9.0.0Marc Khouzam5-6/+6
This includes bumping the standalone debugger to 9.0.0 Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2016-01-04Fix copyright of all CDT plugins using the copyright tool from platform.Marc Khouzam20-20/+20
This commit does not add missing copyrights, just updates the date on the existing ones. Change-Id: I646f5afd533a1fcc539bdf2e0686b22f406ecf65
2015-09-04Bug 476432 - GDB version comparison fails for GDB 7.10Marc Khouzam1-6/+6
Change-Id: I51366e45deabda29a1a5b00166039bad14a146f8 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-08-10Bug 469763 - DSF-GDB top-level service classes for better extensibilityMarc Khouzam3-2/+56
Change-Id: Ie01af2df69a4c12bc3489ab5ecb76a3f5b6bfa79 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>

Back to the top