Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "CDT/User/NewIn86"

< CDT
(Debug)
Line 1: Line 1:
 
== General ==
 
== General ==
  
 +
=== PPC support ===
 
CDT can now run on PowerPC Little Endian (ppc64le) architectures. The work was contributed by Wainer dos Santos Moschetta.  See [http://eclip.se/443343 Bug 443343] for details.
 
CDT can now run on PowerPC Little Endian (ppc64le) architectures. The work was contributed by Wainer dos Santos Moschetta.  See [http://eclip.se/443343 Bug 443343] for details.
 +
 +
=== Editor:  Save actions ===
 +
 +
C/C++ Editor now can support Save actions similar to JDT. Details TBD.
  
 
== Build  ==
 
== Build  ==

Revision as of 17:15, 23 December 2014

General

PPC support

CDT can now run on PowerPC Little Endian (ppc64le) architectures. The work was contributed by Wainer dos Santos Moschetta. See Bug 443343 for details.

Editor: Save actions

C/C++ Editor now can support Save actions similar to JDT. Details TBD.

Build

Debug

Display of Thread names

The CDT now shows the name of threads in the Debug view. GDB started reporting that information as of version 7.3. However, this only affects Linux platforms, as there does not seem to be a way to name threads on Windows, while the GDB on Mac does not yet report thread names.

To properly show these thread names, the format of the Thread display has been slightly modified to be as shown below:

CDT NewThreadNode.png

This was a contribution by Simon Marchi and was completed on December 3rd, 2014 through Bug 378154.

Pinning of Multicore Visualizer view

CDT now supports the pinning of Multicore Visualizer views. A "pin view to debug session" toggle button was added to the Multicore Visualizer toolbar, that permits pinning a MV view to the current debug session.

A Multicore Visualizer view, when pinned, will continue showing the debug session it's pinned-on, even when another debug session is selected in the Debug view.

Pinning is most useful when used in conjunction with MV view cloning. It can be used to setup a workspace where a user can visualize what's happening with multiple debug sessions, being run in parallel.

Here's a simple example to demonstrate pinning: we have a workbench with two Multicore Visualizers views. There are two ongoing debug sessions in the Debug view; session #2 is selected, and shown in both MVs. Note that the new "pin" button is highlighted in the first MV:


Mv-pinning-1-highlight.png


We switch to session #1, and both MVs follow:


Mv-pinning-2.png


We pin the first MV to session #1:


Mv-pinning-3.png


We switch to debug session #2; pinned MV stays on session #1:


Mv-pinning-4.png


This feature was completed August 22nd, 2014 through Bug 441713.


Edit connection properties in remote launch

For 'C/C++ Remote Application' launch configurations there is a new 'Edit...' button in the Main tab. Its aim is to give access to the selected connection properties such as host name. So far changing the connection properties was only possible through the Remote Systems view.

Edit connection 2.jpg

Connection properties.jpg

This feature was a contribution from Iulia Vasii and was completed October 28th, 2014 through Bug 370768.

Per-element number format

The CDT now supports setting the number format for individual elements of the Variables, Expressions and Registers views. The selected format of each element will be persisted across debug sessions and across Eclipse restarts.

CDTDebug NumberFormat.png

Note that a selected format is per view instance which means that if a view is cloned, the second instance will not follow the formatting of the original view, and can be given a different format for similar elements.

CDTDebug NumberFormatClone.png

This feature was completed October 29th, 2014 through Bug 439624.

Remote debugging support in the Standalone Debugger

The CDT Standalone Debugger now supports remote debugging in the same fashion as standard CDT Debug does. However, it only supports connecting to a running gdbserver, i.e., it will not start gdbserver automatically. To specify a remote debugging session from the command line, the -r option has been added. The new -r flag can optionally be used with the -a flag to trigger a Remote-Attach session.

For example, to perform a remote debugging session to a gdbserver that is running the binary a.out on localhost and port 9999:

 ~/cdtdebugger/cdtdebug.sh -r localhost:9999 -e ~/a.out

And to perform a remote-attach debugging session to a gdbserver running on localhost and port 9999:

 ~/cdtdebugger/cdtdebug.sh -r localhost:9999 -a

This feature was completed November 28th, 2014 through Bug 450080.


Terminating or disconnecting multiple processes with one command

It is possible now to terminate or disconnect multiple processes running in same debug session using a single "Terminate" or "Disconnect" command.

This feature was completed on December 4th, 2014 through Bug 434558.

Register Grouping

This feature makes it possible for the user to select an arbitrary set of available registers and create a register group which is visualized under the registers view.

The register view can then be used to collapse and expand these groups to display the contents.

These groups can be edited to add/remove selected registers and/or to edit the group's name

These groups are preserved so the user does not have to re-create them when using the same launch configuration.

RegisterGroupsContext.png SelectTheGroupRegisters.png


This feature was completed December 9th, 2014 through Bug 235747.

Display of GDB version

CDT will now print the version of GDB, along with the rest of its launch message, when starting a new debug session. This information will be shown in the eclipse gdb console and can help the user notice if the launch used does not trigger the correct GDB version for some reason.

This enhancement was completed December 17th, 2014 through Bug 455408.

Example plugin extending DSF-GDB

CDT now provides an example plugin that extends DSF-GDB. This plugin show different techniques that can be used by others to build on top of DSF-GDB. It can be found in the standard CDT git repo under dsf-gdb/org.eclipse.cdt.examples.dsf.gdb.

This plugin was created on December 18th, 2014 through Bug 441277.

Indexing

Refactoring

Bugs Fixed in this Release

See Bugzilla report Bugs Fixed in CDT 8.6

Back to the top