1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00
Commit graph

1635 commits

Author SHA1 Message Date
Jonah Graham
e770ac2b7b Bug 551817: Write Kichwa Coders consistently in Copyright line
Choice is one of:
Kichwa Coders Ltd
Kichwa Coders Canada Inc.
depending if contributed by UK or Canadian company

Change-Id: I5c9fb96ea6abf97858a6896911a71fa68b8400b1
2020-01-09 09:16:43 -05:00
Jonah Graham
ca1ee32031 [releng] Update comparator repo for p2 compare and replace
Change-Id: Iff7e7ba98fe37f89d1b6b0e0754ef827925e849e
2020-01-03 15:16:28 -05:00
Jonah Graham
995bf9320c Bug 558488: Fix GDB version number comparisons for GDB 10 and above
The previous code would treat GDB 10.0 as earlier than 6.8

Change-Id: Ie95d9459462636c9ae0713c65686eec64cb553fa
2019-12-19 20:03:11 -05:00
Jonah Graham
bd814fdaf9 [releng] Bump to CDT version 9.11.0
Change-Id: If729509efbddc71adb565e224437b76089d6e099
2019-12-07 15:24:34 -05:00
Baha El Kassaby
949efc6572 Bug 530443: Add support for "info sources" MI equivalent
*Implementation of -file-list-exec-source-files MI command.
*Add new Debug Sources view with tree-like structure

Change-Id: I6e734799712c059c8e53aa882777dfebd85aa0d5
Also-by: Jonah Graham <jonah@kichwacoders.com>
Signed-off-by: Baha El Kassaby <baha.elkassaby@gmail.com>
2019-11-25 12:01:21 -05:00
Jonah Graham
a5a2be90e7 Bug 552745: Disable intro screen (webkit use) in tests
Change-Id: Ib97fb00cb96af34a14d89a07d88de15c276537aa
2019-11-06 17:26:04 -05:00
Torbjörn Svensson
092b4ed3cf [releng] Add missing Bundle-Vendor to plugins
Change-Id: I889681c4748842999b708783cb7d21a801dba02d
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2019-10-24 12:50:12 -04:00
Jonah Graham
7a2ff27b91 [releng] Update comparator repo to last release
Change-Id: I00901808f1eda041f070b2f3e1cda076987c69a5
2019-10-17 10:07:44 -04:00
Torbjörn Svensson
e6de0c9385 Bug 551817 - Add about.html to src.includes for plugins
Change-Id: Id6e1a3c4aa94bf242efd62a28f5ca9de7d64f699
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2019-10-17 10:07:18 -04:00
Jonah Graham
2f5f4d50a2 [releng] Bump to CDT version 9.10.0
Change-Id: I027e7e5542fda3e599ee476814593fc4b464adca
2019-10-16 10:55:28 -04:00
Alexander Kurtakov
d0d6f57a50 Move away of deprecated imageDescriptorFromPlugin.
Change-Id: I855682065fe6b40deeedc6cd7b5cb419848caac0
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 08:57:51 +03:00
Alexander Kurtakov
9daf3d00e2 Remove unnecessary semicolons.
Change-Id: I4ed8830940600065d077857fd813bd38e6a5da86
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:22:24 +03:00
Alexander Kurtakov
46be0de323 Generify ListenerList.
Change-Id: Iee6fcbe412f8d90004d4ecafe6fa3e7513900971
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-10 22:55:40 +03:00
Umair Sair
9d97a36419 Bug 550165: Debugging is stuck when "command aborts" on step return
Adding unit test for MIAsyncErrorProcessor. The test adds breakpoint on
0x0 address and try to continue and step return. It asserts that the
target is in stopped state and error as reason in both cases. Then it
removes all the breakpoints and resumes the target and asserts that
target is in resumed state.

Change-Id: I2e024e0d5f55b4e9464a6f2b7a2b0c78bee4e8e8
Signed-off-by: Umair Sair <umair_sair@hotmail.com>
2019-08-19 12:43:22 -04:00
Umair Sair
810f329774 Bug 550165: Debugging is stuck when "command aborts" on step return
Command abort can occur for commands that are run not just in context of
thread, instead stack frame is also present, e.g., step return in case
of this bug. Updated the implementation to get IExecutionDMContext from
the command context if it is not IExecutionDMContext itself.

Change-Id: Ia6cccffba8bde28e22eca46211747de31084f25a
Signed-off-by: Umair Sair <umair_sair@hotmail.com>
2019-08-18 01:17:00 +05:00
Alexander Kurtakov
a3938937f2 Convert new Runnable to lambda.
Take 2.

Change-Id: I060b0e41d8c6058db0c2ba88af8454b5517105b8
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-12 17:31:30 +03:00
Alexander Kurtakov
1e42e5f0e1 Convert new Runnable to lambda.
Change-Id: I8b827013a29802a3f3ae6400ddce8d8753eb6399
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-12 07:11:40 -04:00
Alexander Kurtakov
51da3eb3a6 Remove redundant superinterfaces.
Change-Id: I0de3509b02a8ef6853f0053c9ee6edd304a05a86
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-10 10:28:51 -04:00
Jonah Graham
5414def68f Bug 543711: Provide empty enablements to suppress missing enablements warning in log
Change-Id: Ib3979f577331149eb4d712d1be6d2196f0a431d3
2019-08-03 11:56:41 -04:00
Jonah Graham
f96971a278 Bug 542488: Remove duplicated code
When DSF was first created it was a separate project that borrowed
heavily from CDT, as such (AFAICT) some code was copied from
o.e.cdt.launch to DSF. This commit de-duplicates some of that code
as the DAP implementation wants to reuse the code too and another
copy is not wanted.

Change-Id: Ie54187dabc9c32224575c0bf51bcabfab00ca340
2019-07-09 21:17:22 -04:00
Jonah Graham
edfc7d4c0e Fix generic and other warnings
Change-Id: I77173712bf2b775eae5573f0abfb7f9900123438
2019-07-09 21:17:22 -04:00
Jonah Graham
0ee3822b04 [releng] Add missing @since tags
The version of the plug-in had been correctly bumped already, but
the tags were missing causing API errors

Change-Id: Ief9f7250d3940c1ddd4d44ee19d53dc99f1af8b5
2019-06-21 11:26:29 -04:00
Jonah Graham
f3e8387a8e [releng] Bump version to 9.9.0
Change-Id: I6641e51a8bfdb44fa5c646d97debf2bf814c107a
2019-06-11 12:33:48 -04:00
Jonah Graham
aeaf678425 [releng] move to cdt-infra repo
This script had been copied to the cdt-infra repo a while ago, this
update removes the copy left behind and redirects users to cdt-infra.

Change-Id: Ia4b2d90a9336947e0aad53a0fce6a569416ac379
2019-06-05 10:36:02 -04:00
Jonah Graham
ef07729e45 [releng] Move gdb path and version to test variables to root pom
They used to be duplicated in multiple places in further down poms.

Change-Id: Ifd7adf356892138a2aa79c22084a52cc25619b1b
2019-06-04 16:09:37 -04:00
Doug Schaefer
83792f71bd Bug 547881 - Allow targets to set ATTR_REMOTE_TCP
Adds support for this attribute in the ILaunchTarget attributes and
then convert it to the boolean attribute on the launch config.

Change-Id: Ieefa6892641517ff0fa6a0a04f63a6a8dbc35bf4
2019-06-03 14:15:46 -04:00
Doug Schaefer
6a27da170f Bug 547831 Add ILaunchTargets for GDB Remote
Adds ILaunchTargets for GDB Remote for TCP and Serial Port.
Adds a launch config provider that maps default launch configurations
for the gdb remote launch config types.

Alters the launch attributes by merging in the target attributes
over the launch configuration attributes. This is a no-op of the
target is the Null Target (which has no attributes).

Some string externalization that was missed from previous commits.

Carrying on tradition of ramdonly using Gdb or GDB in our class names :)

Change-Id: Ie8483110f594db593e704adda420ce6b14812dea
2019-06-03 00:22:36 -04:00
Jonah Graham
4324811b1b [releng] Updated officially supported GDB versions
Change-Id: I22eb86b34659ff54223a81dec4f8341b63b5675b
2019-05-31 17:17:08 -04:00
William Riley
92272c6465 Bug 545624 - Skip LaunchConfigurationAndRestartTest
Failing and causing all other GDB tests to fail

Change-Id: I14314b8569d0e117ee9b5db6af33f3b3708d82be
2019-03-27 05:08:14 -04:00
William Riley
8220215a2e Bug 545624 - Disable failing tests
Change-Id: I60d34ca269482b089d738f5b911378bc1bd57238
2019-03-21 11:46:47 -04:00
Marc-Andre Laperle
084288dee9 Remove warning of illegally extending ImageRegistry
Delegate to an instance of ImageRegistry instead, which is legal.

Change-Id: Ife10b526c54483143a9ef5599c4571844a60604d
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-03-20 19:13:33 -04:00
Jonah Graham
cdc99feef2 [releng] Bump version to 9.8.0
Change-Id: I3861d4c5d0eecaf9dd370f269a655e666b60561a
2019-03-01 13:25:21 +00:00
Simeon Andreev
db1326bbb3 Bug 543129 - NPE in GdbFullCliConsolePage.dispose()
With the fix for bug 536677, disposing a org.eclipse.ui.part.Page will
dispose also its site.
org.eclipse.cdt.dsf.gdb.internal.ui.console.GdbFullCliConsolePage.dispose()
calls super.dispose() and then accesses the page site, which results in
a NPE.

This change changes the order of disposal to the natural order,
extending class first and then the super.

Change-Id: I853c8c426b9ea4e1403cd9af34f9878f6379f72a
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2019-02-14 16:12:39 +01:00
Jonah Graham
76cc07a4cd [releng] Bump version numbers for plug-ins changed since branch point
Following https://wiki.eclipse.org/Version_Numbering#When_to_change_the_service_segment

Change-Id: I019f2f6bcf11e5e4fb17960dc28a1fb2fac6ace0
2018-12-20 08:37:56 +00:00
Simon Marchi
eb83237dc4 Fix license comment block in download-build-gdb.sh
The automated license change didn't handle this case properly.  Add the
missing #s.

Change-Id: I11ad2c22b3be7b4d3db66aa69386619007aa8b6e
Signed-off-by: Simon Marchi <simon.marchi@ericsson.com>
2018-12-14 11:16:17 -05:00
Jonah Graham
677cc2cf63 [releng] Bump version to 9.7.0
Change-Id: Icaa0b6acf73e3a19e0d102fa8ae784e631d8743a
2018-12-10 13:50:44 +00:00
Torbjörn SVENSSON
4c605d68c5 Bug 542436 - Added method to override whitch IGDBBackend instance to control
In some situations, it makes sense to have more than one GDB instance.
Allow to reuse the GDB controling layer to avoid more code duplication
than neccessary to have a second GDB session.

Change-Id: I641919157c5b86c14ff768c8cd3fcddc9dcdbeb2
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@st.com>
2018-12-06 05:11:54 -05:00
Marc-Andre Laperle
499cdbf01d Remove JVM MaxPermSize arguments (unused since Java 8)
Change-Id: Ie33b44064429f409fa721141f14f4e519014f6aa
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-11-29 23:05:14 -05:00
Baha El Kassaby
9f87a3ae09 Bug 530443: Limit output to 10 lines per MI output
Some commands, such as -file-list-exec-source-files, can generate
10s of thousands of lines of output.

Change-Id: I07fc3ef99bdd8e9247c75e2e9733e43b35657687
Signed-off-by: Baha El Kassaby <baha.elkassaby@gmail.com>
Also-by: Jonah Graham <jonah@kichwacoders.com>
2018-11-26 21:27:57 +00:00
Max Bureck
0da8033c2c Bug 541520: Make GDB version detection standalone
Provides GDB version detection as a public API that can be used without
having a saved launch config, or having a launch config at all.

Change-Id: Ifaee337899c01fe7066b27f7d66484bfc728f5ed
Signed-off-by: Max Bureck <max.bureck@fokus.fraunhofer.de>
2018-11-26 14:18:40 +00:00
Jonah Graham
f869a3f247 Bug 540373: Post code-cleanup for DSF examples
The DSF Examples contains some commented out source that is enabled
via a script so this commit cleans that up for new formatting rules.

Change-Id: I82c5e195cc3746415c659b2c0fc72b8118cdc56c
2018-11-24 11:22:15 +00:00
Jonah Graham
37ed2c406d Bug 540373: Update the compiler warnings/ignores
The previous alignment of all the warnings/ignores
led to too many warnings that weren't there before. This
commit relaxes them a bit.

The core/org.eclipse.cdt.core/.settings/org.eclipse.jdt.core.prefs
is still the "master" copy, with
releng/scripts/check_code_cleanliness.sh containing the
exceptions that apply to test plug-ins.

Change-Id: Ibd4e31ade0b42b31e7cbe5a94f06c6fc15183a56
2018-11-24 10:55:06 +00:00
Jonah Graham
96b71a9a48 [releng] Add missing @since tag
Change-Id: I21eb74aaed8d789e8f7d68dae58bf83cddb8f138
2018-11-24 10:12:25 +00:00
Jonah Graham
8e811ccbd0 Bug 540373: Fix trailing whitespace in MANIFEST.MFs
Change-Id: I818e939ec4667bea4c7bcd5cd3c1af1a273ca0ce
2018-11-23 13:59:50 +00:00
Jonah Graham
3caea240a3 Bug 540373: Format some Java files that were missed
Some files which has other cleanups applied meant they needed to be
reformatted again. e.g. the removing of type parameters shortened
some lines of code that meant the wrapping changed.

Change-Id: I68ca09567b9530cc2a085c33923642b6de2ec77b
2018-11-23 13:59:46 +00:00
Jonah Graham
ff75ae80fa Bug 540373: Cleanup: Remove trailing whitespace in properties files
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-23 07:52:26 +00:00
Jonah Graham
be35c7327d Bug 540373: Cleanup: Remove trailing whitespace in Java files
Some Java files were missed, or other cleanups introduced
trailing whitespace. So clean it up with this commit.

Command used:
find .  ! -path "./.git/*" -type f -name *.java  -exec sed -i -E 's/[ \t]+$//' {} +

Change-Id: I18f5e3a3eb5352443c9e753d427bb8d06107b8a4
2018-11-23 00:53:06 +00:00
Jonah Graham
aa1040a21a Bug 540373: Remove '(non-Javadoc)' comments
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-22 22:00:29 +00:00
Jonah Graham
eeb3006e27 Bug 540373: Cleanup: Remove redundant semicolons
This was done by selecting all projects in Eclipse then
Source -> Clean Up... -> choosing:
- Remove redundant semicolons
and completing the wizard

Change-Id: I3d3175cfdfadec4f815c551d486e42c9f57b80ce
2018-11-22 21:57:01 +00:00
Jonah Graham
caf2292768 Bug 540373: Cleanup: Remove redundant type arguments
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-22 21:55:36 +00:00