1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

1612 commits

Author SHA1 Message Date
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
Jonah Graham
a923614c73 Bug 540373: Cleanup: Organize Imports
This was done by selecting all projects in Eclipse then
Source -> Clean Up... -> choosing:
- Organize Imports
and completing the wizard

Change-Id: Ia7b305a4c967d0e6f4e8fb8c1041e7028b24006c
2018-11-22 21:47:02 +00:00
Jonah Graham
170e654b47 Bug 540373: Cleanup: Format & Remove trailing whitespace
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-22 21:47:02 +00:00
Jonah Graham
35996a5c5c Bug 540373: Standard .settings auto applied
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-22 21:47:02 +00:00
Jonah Graham
f70a8b35c1 Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-11-22 20:31:51 +00:00
Jonah Graham
f0ce92d3b5 Bug 540371: normalize files before applying EPLv2
Change-Id: I8bfd427bba1df18579d6d5e58ad1e5d704485050
2018-11-22 20:30:13 +00:00
Jonah Graham
48d2271a58 Bug 540373: Normalize newlines with .gitattributes
There is also a new script to verify completeness of .gitattributes:
releng/scripts/verify_gitattributes.sh

Change-Id: I2ce270852ab54b66b6c474a6ec94203fe5bba78b
2018-11-20 21:20:39 +00:00
Jonah Graham
3cf0297769 Bug 532077: Preserve Ignore Count set in the platform breakpoint
Change-Id: I19ad64254b0e9ed55114f2e83fe2f09e2aeac83c
2018-11-18 12:36:44 +00:00
Jonah Graham
54f6c19de2 Bug 541069: Don't error on missing variables when doing substitution
This is a follow up to 60d95da97b (Bug
399460) as in that change the reporting option inadvertently changed.

Change-Id: I1afe70632107ab388be09a707e8e9fc419f76b91
2018-11-16 11:24:38 +00:00
Karsten Thoms
652602febd Bug 540610 - Add Automatic-Module-Name header
Change-Id: Ia990b24469751050dd9ec8f9b5550804816308b3
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-10-30 15:49:15 +01:00
William Riley
f3ca365140 Bug 540367 - Increment version numbers
Change-Id: I4a355170a7075f0a98ba3c1a5131c235c89b07d2
2018-10-23 11:20:31 -04:00
John Dallaway
87cd426861 Bug 539455: Report debug command errors via status handler
Change-Id: I4c3abbb660e426580ce8f836e6e19a897fbaeefe
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2018-09-27 12:33:07 +01:00
Simeon Andreev
a8a29d195a Bug 538849 - Select Processes dialog filter field improvements
This change ensures that the Select Processes dialog remembers the
filter field input. This helps attaching to the same application without
having to input the filter text on each debug attach.

Furthermore with this change its possible to match a process name with
suffixes, without resorting to pattern matching symbols. E.g. match
"Eclipse" by typing "lipse".

Change-Id: I07a3bb1504f2f5e9626023d1097fcad78dfa9ac7
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2018-09-14 06:25:12 -04:00
Simeon Andreev
094543644b Bug 333034 - Select Processes dialog shows command line arguments
This change adds command line arguments to the information listed in the
"Select Processes" dialog, seen e.g. when attaching to a C++ application
to debug.

Change-Id: I18ab685f73cb1c16ed3ea935872f49afa1de9aab
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2018-09-14 11:06:28 +01:00
Simeon Andreev
8a73297c10 Bug 538785 - Select Processes dialog should remember when resized
With this change, the Select Processes dialog will remember its new size
if it was resized by the user.

Change-Id: I27161ae5b5332db87cc9876aa23cf8fd8c751a80
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2018-09-07 16:34:13 -04:00
Jonah Graham
92bdc049a2 [releng] Update tests/build script to use newly released GDB 8.2
Change-Id: I6f67200880b9d9ed96f4cf0555d92312d1f64fff
2018-09-05 12:14:10 +01:00
John Dallaway
dd17366239 Bug 538282: Add GDB Hardware Debugging launch test
Change-Id: I308a6a8d128704f83a5fc220c7c168f56e4fc040
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2018-08-27 16:22:10 +01:00
Jonah Graham
17c79ab310 Update GDB versions in download-build-gdb.sh for GDB 8.1.1
Change-Id: Id4bddb10ad00a0b1d52bd0cc7f9a232cd6ec453e
2018-07-31 20:23:42 +01:00
Jonah Graham
9853ba09d9 Bug 433329: Fix comment in code
Change-Id: Ie661ab193a0b081240ba4c7dd7a9fe65ed59b6c9
2018-07-25 13:31:49 +01:00
Jonah Graham
231ec3e540 Bug #535767: Store endianess per memory context
Change-Id: Ib4beea9a2b54bc26f5357c199ffd6154f49b96dc
2018-06-11 10:49:26 -04:00
Jonah Graham
4d5204c771 [releng] Bump version to 9.6.0
Change-Id: I1618eaeab14b421155af733a73e36f6e37ea0b85
2018-06-05 22:13:24 +01:00
John Moule
93cfa42618 Bug 534309: NPE in breakpoint filtering
Guard against NULL oldValues, which is legitimate, in which case use an
empty Map.

Change-Id: I78ac252d3e91d431340320719cb57b32145813f0
Signed-off-by: John Moule <evil_bandit_betamax@yahoo.co.uk>
2018-05-29 16:54:59 +01:00
John Dallaway
60d95da97b Bug 399460: Resolve variables using launch context
Resolve project-related string variables within the GDB command, based
on the launch configuration rather than the current selection.

Change-Id: I6fc5d2f1de515624aff59397de60d0c394acf72f
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2018-04-21 01:15:16 -04:00
Samuel Hultgren
ec9361bd45 Bug 533771 - Allow limit scope of MIStackListArguments
Change-Id: Ibe63ea352fa4daae0d91989595d79b39c3ef92f0
Signed-off-by: Samuel Hultgren <samuel.hultgren@st.com>
2018-04-20 07:14:46 -04:00