Commit graph

22 commits

Author SHA1 Message Date
Jonah Graham
0568568c33 Change standalone debugger to no longer limit number of bundles
The maintenance of having a streamlined standalone debugger that
starts as fast as possible is no longer possible. See for
example #591 - therefore when using standalone debugger, use
the same sets of plug-ins/features as the product it is installed
in uses. The side effect is that the standalone debugger in this
use case will start slower and extra "stuff" will be present in
this UI.

For people just building the standalone debugger, provide a minimum
feature set. This will be many more bundles than before, but
should still provide a reasonably small set that starts well.

This simplification also includes removing the the duplicates set
of CDT docs (debug/org.eclipse.cdt.debug.application.doc). These
provided a simplified version of CDT's documentation targetted
at just standalone debugger. However there are a few problems related
to this duplication:

- The two sets of docs were not kept in sync
- The standalone docs appear in the online help, leading to
  duplicated entries
- With the config.ini changes above, there is no way to exclude
  the main docs in the standalone case, so remove the duplicate

A number of directly related clean-ups are included too:

- Remove the `ConfigGenerator.java` that stopped being referenced
  in PR #761
- Complete the removal of `build-standalone-debugger-rcp` profile
  that was started in #761. There is a small drawback to not having
  this profile, the standalone debugger is very slow to build
  compared to the rest of CDT. If this becomes a problem, restoring
  this profile along with the changes made in #761 is reasonable.
- bring debug.product's licenses up to date
- modernize command line args to eclipse when using debug.product

Fixes #781
2024-05-12 16:12:17 -04:00
Alexander Fedorov
88355ecc48 [#657] CDT cannot be built on Java 21 due to security manager changes
* Switch CI to Java 21
* Remove config generation for debug application
* Remove `org.eclipse.osgi.services` from `proxy.server` product
* Remove `org.eclipse.osgi.services` from
`org.eclipse.cdt.debug.application.product` product
* Move `org.eclipse.cdt.debug.application.product` from profile to
general part

Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2024-04-19 22:16:40 +03:00
Jonah Graham
48df0ae2dc
Update apt before trying to install in GHA workflows (#586)
Fixes https://github.com/eclipse-cdt/cdt/pull/581#issuecomment-1752771968
2023-10-09 19:29:15 -04:00
Jonah Graham
6d4e8ededc Stop checking baseline-compare-and-replace in build and test workflow
This is checked in the code cleanliness workflow and by failing the
main build here causes the tests not to run and the tests are more
important. Similar to the new api-baseline-check that doesn't
run in the main workflow
2023-08-17 09:07:51 -04:00
Jonah Graham
2c3aaf89a1 Update to Tycho 4.0.1
The error handling in Tycho 4 identifies when bundles are listed
in category.xml but not available. The removed bundles were
not in the output, and with this change the error is resolved
in the build.

Updated setting for maven enforcer to match Tycho requirements.
2023-08-16 15:55:55 -04:00
Jonah Graham
f083a4a203 Split check code cleanliness into two build steps
A while ago we made the "Make sure all versions have been bumped
appropriately compared to the baseline" output to another file
to make it clearer. This refactor splits it up into different
build steps instead so that I don't have to open an additional
log file.
2023-08-16 15:04:39 -04:00
Jonah Graham
bb8ffa7b09
Make GitHub issue template more relevant (#468)
The old template was the default for GitHub, but it was off the mark
a little for some aspects. This change hopes to make the template
more useful
2023-07-21 15:43:56 -04:00
Alexander Fedorov
7cd76eeeca
[#385] Employ Eclipse Dash license check (#386)
Add yml configuration to check licenses

Fixes #385

Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2023-04-30 10:35:09 +03:00
Alexander Fedorov
6d426dc26f Employ dependabot for CDT repository #363
Add dependabot config

Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2023-04-13 13:26:28 +03:00
Umair Sair
e8f17beeb5
Bug 528145 - Breakpoints are not working with remote attach launch (#336)
Looking at the logs, it seems that the regression is caused at 8bec791
where support for multi-process was added. We removed breakpoints
tracking support from final launch sequence and moved it to debug new
process and attach to process logic but none of these are run for remote
attach launch, hence breakpoint tracking is not started for remote
attach launch.

To fix the problem, IGDBProcesses.attachDebuggerToProcess(..) is updated
to handle remote attach launch as well instead of final launch sequence
handling it.

This commit is created after reverting 7bddb5f and 96839a0 which is the
older fix done to fix this issue and the other commit was to fix the
regression caused by the old fix.

The problem with older fix was that for non-stop mode, attach to process
was not working for remote launches when there is already a process
being debugged. Note that to use this feature, gdbserver should be
started with --multi option.

* Revert "Bug 580259: Not all remote session have a connected process"

This reverts commit 96839a029d.

* Revert "Bug 528145 - Attach debugger to a gdbserver remote session"

This reverts commit 7bddb5f4cb.
2023-04-10 18:32:11 -04:00
Jonah Graham
bc0baaeb3d Run Workflows on all branches and PRs 2023-03-20 09:49:44 -04:00
Jonah Graham
c18d06e84d Upgrade to Tycho 3.0.3 (latest)
Part of #320
See also #308
2023-03-14 14:02:47 -04:00
Jonah Graham
6776f6a1ee Fix maven at 3.8.7
Until we update Tycho to 3.0.3+ we use the older Maven

Thanks to @ghentschke for figuring this out in
f7761791be

Fixes #308
2023-03-06 20:24:55 -05:00
Jonah Graham
d4c87cef72 Run workflows on CDT 11.1 branch 2023-03-06 14:11:48 -05:00
Jonah Graham
f8915da90f Run all workflows on CDT 11 branch too 2022-12-09 12:38:28 -05:00
Jonah Graham
381f9ae080 Use Ubuntu that contains GDB 10
Until we are ready for GDB 12 in the testsuite, run the GHA
checks against GDB 10 by chaning base OS to Ubuntu 20.04
instead of latest (which recently changed to 22.04)

Worksaround #210
2022-12-09 10:02:56 -05:00
Jonah Graham
5c1f041c6d Add a 90 minute timeout on GitHub actions (instead of 6 hour one) 2022-11-21 11:24:43 -05:00
Jonah Graham
939da0a445 Provide Issue and PR templates
Part of #32
2022-11-09 10:56:55 -05:00
Jonah Graham
d5620689b5 Enable the profile in the GH Actions to verify standalone builds
Follow up from c1269a9990
2022-10-25 22:29:07 -04:00
Jonah Graham
56ee2c3bb1 DSF-GDB tests in GitHub Actions
- Fix the running so that the correct gdb is used.
- Only run DSF tests if dsf directories have been modified
- Default to using gdb,gdbserver on the PATH when running
  tests
- Remove double reporting of test results
2022-10-10 08:44:28 -04:00
Jonah Graham
9a22ad7097 Add GitHub actions to Build and Test CDT 2022-10-09 16:24:41 -04:00
Jonah Graham
06c8b01d83 GitHub Action for Code Cleanliness Check
This commit runs GitHub actions for code cleanliness.
Because this includes compare and replace build,
this verifies that the commit is buildable and
clean.

The natives are not rebuilt here (yet) because
the GitHub actions runner does not have the
cross compiler tools installed.

Part of migration to GitHub - Issue #32
2022-10-09 12:14:53 -04:00