Skip to content

Commit

Permalink
Add GNU_PE64 parser and AbstractGnuToolPrefixMacro to N&N
Browse files Browse the repository at this point in the history
Part of #361
  • Loading branch information
jld01 committed Apr 19, 2023
1 parent 0d9fa84 commit 74d0478
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions NewAndNoteworthy/CDT-11.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ This is the New & Noteworthy page for CDT 11.2 which is part of Eclipse 2023-06
# Release Notes


# Build

## GNU PE64 Windows Parser

A new binary parser allows projects using a _MinGW GCC_ toolchain to make use of core CDT GNU tool support in the same manner as projects using a _Linux GCC_ toolchain.
For example, users may now invoke GNU `objdump` by double-clicking on a Windows PE64 executable file.
New projects using a _MinGW GCC_ toolchain are now configured to use the _GNU PE64 Windows Parser_ by default.
Existing projects may be configured to use the new parser via the _Binary Parsers_ list of the C/C++ Build > Settings project properties page:

<p align="center"><img src="images/CDT-11.2-gnu-pe64-parser.png" width="50%"></p>

# API Changes, current and planned

Expand All @@ -16,6 +26,13 @@ Please see [CHANGELOG-API](CHANGELOG-API.md) for details on the breaking API cha

The remote connection for attach launch will be moved in the implementation of `IGDBProcesses.attachDebuggerToProcess()`

## New class `AbstractGnuToolPrefixMacro`

A new abstract class assists in the integration of managed build GNU toolchain extensions with core CDT GNU tool support.
Extenders may sub-class `AbstractGnuToolPrefixMacro` to describe the GNU tool prefix (eg `arm-none-eabi-`) used by their toolchain.
The resulting build macro may be associated with a managed build GNU toolchain extension using an `IConfigurationBuildMacroSupplier` to ensure that the correct prefix is used when invoking GNU tools such as `objcopy`.
Refer to `org.eclipse.cdt.internal.build.crossgcc.CrossBuildMacroSupplier` for a usage example.

# Noteworthy Issues and Pull Requests

See [Noteworthy issues and PRs](https://github.com/eclipse-cdt/cdt/issues?q=is%3Aclosed+label%3Anoteworthy+milestone%3A11.2.0) for this release in the issue/PR tracker.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 74d0478

Please sign in to comment.