Skip to main content

Notice: This Wiki is now read only and edits are no longer 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/Obsolete/MultiCoreDebugWorkingGroup/calls/minutes"

 
(115 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Previous Teleconferences Minutes of Meetings =
+
= Multicore Debug Workgroup Minutes of Meetings =
  
== February 8, 2011 ==
+
== January 12th, 2016 ==
  
 
=== Attendees ===
 
=== Attendees ===
  
# Norman Yee (Analog Devices)
+
# Phil Mason (Broadcom)
 +
# Alvaro Sanchez-Leon (Ericsson)
 +
# Marc Dumais (Ericsson)
 +
# Jonah Graham (Kichwa Coders)
 
# Mikhail Khodjaiants (Mentor)
 
# Mikhail Khodjaiants (Mentor)
# Bruce Griffith (Sage)
 
# Shaiju (Tensilica)
 
# Dobrin Alexiev (TI)
 
# Patrick Chuong (TI)
 
# Bill Swanson (Tilera)
 
# Doug Schaefer (Windriver)
 
 
# Marc Khouzam (Ericsson)
 
# Marc Khouzam (Ericsson)
  
'''Multicore debug workshop at EclipseCon'''
+
=== Minutes ===
* We are interested in having a multi-core debug meeting at EclipseCon.  Using a BOF is too open and too late at night.  We should find a time during the day.  We should book a room or maybe use the courtyard.  Marc to email foundation for a room.
+
  
'''Visualizer view'''
+
* CDT call and Debug call will be merged.  We'll hold a single monthly call on the first Tuesday of the month.
* First part is to work on the framework and the first presentation
+
* Address breakpoints don't work well with multi-process
* To make it easy to use without CDT, we probably want new plugins
+
** Mikhail to find existing patch for this problem
 +
* Showing an entry for each installation of a breakpoint in the breakpoint view
 +
** Continued interest in that feature from Kichwa Coders, Ericsson
 +
** Marc K to schedule a breakpoint call to help define what work would be needed
 +
* CDT 8.8.1 release on track.  Some sanity tests should be done around RC1 or RC2 in a couple of weeks.
 +
* Grouping feature continues.  More complex than expected but progressing.
 +
** Kichwas Coders have been able to make use of some of those changes from the Gerrit review.  They will give feedback if any.
 +
* Substitute path contribution
 +
** Marc K to start with review https://git.eclipse.org/r/#/c/63288/
 +
** Main review for path mapping now re-uses exiting UI and maps it to GDB backend when available
 +
*** When using GDB path mapping _all_ paths coming from GDB are properly mapped
 +
*** Cannot remove the bp synchronizer usage of path map because not all backends supports; however we should update the source service to behave properly when using GDB path mapping; Jonah's patch should cover for that.
 +
* Full GDB Console
 +
** We hope to have support from GDB in GDB 7.11 (fingers crossed)
 +
** Integration in CDT with a GDB prototype is going well
 +
** Exact same look and feel for user except that the console has all the feature of the real GDB CLI
 +
** Does the new console support giving python commands?  Setting breakpoint commands? etc
 +
* Reverse debugging with btrace
 +
** Review difficult because UI changes are intrusive
 +
** Contribution needs a CQ and the deadline is Feb 12th for CQ submission
 +
** Special hardware is necessary to fully test the patch; luckily Ericsson has access to such hardware
 +
** Marc K still hopes to figure things out in time
 +
* CDT 9.0: People are encouraged to look at actions at https://wiki.eclipse.org/CDT/APIBreakages
  
'''How to build CDT?'''
+
== December 1st, 2015 ==
* Tensilica builds from sources
+
* Tilera looks for a repeatable, automatable way to build CDT
+
* org.eclipse.cdt.releng has scripts to build CDT, uses AntRunner
+
* Need a wiki to explain how to build CDT from sources.  Questions should be posted to the list until we figure this out.
+
  
'''Grouping'''
+
=== Attendees ===
* Dobrin moving code changes from DSF-GDB to DSF
+
* Need people to test: https://bugs.eclipse.org/240208
+
* Dobrin is making TI's debugger work with the proposed changes
+
* next step after that is to define the UI
+
* Need to clarify concepts like:
+
** backend-supported groups
+
** frontend-only groups
+
** recursive grouping
+
* Need to investigate other commands than run-control that can affect groups such a 'load'
+
* Shaiju can try out the patch and provide feedback
+
* Mikhail will also try to get some time
+
* GDB will be doing some work on grouping and we should make sure it fits with what we need
+
  
'''Synchronized operations'''
+
# Phil Mason (Broadcom)
* Post on the wiki on what Tensilica is doing: [[CDT/MultiCoreDebugWorkingGroup/SynchronizedOperations#What_Tensilica_is_providing_currently | What Tensilica is currently providing]].
+
# Alvaro Sanchez-Leon (Ericsson)
* Need to get input from the community to get all requirements
+
# Marc Dumais (Ericsson)
* Builds on top of the grouping feature
+
# Tracy Miranda (Kichwa Coders)
* Tensilica does not use groups, but uses an all-or-nothing grouping approach
+
# Mikhail Khodjaiants (Mentor)
* Need a bugzilla for this effort, Shaiju will open
+
# Doug Schaefer (QNX)
* http://bugs.eclipse.org/330974 for "live" grouping using multi-select
+
# Marc Khouzam (Ericsson)
  
'''Multi-process UI'''
+
=== Minutes ===
* UI has to be defined
+
* Marc almost done with plumbing for DSF-GDB using GDB 7.2
+
  
'''Pin&Clone'''
+
* CDT Arduino
* Part of M2 build
+
** Meet-up to be held Dec 2nd. Doug will send invite to the list.
* Coloring available in http://bugs.eclipse.org/334566
+
** GDB Stub now works on some Arduino board and CDT was able to hook to it using our GDB integration
* Patrick almost done with patch for coloring
+
  
'''Enhanced Breakpoint Support'''
+
* Multiple people interested in using RCPTT but no progress yet
* TI has a better bp support using flexible hierarchy
+
* TI deals with breakpoint properties as provided by the backend
+
* TI creating breakpoints allow to set conditions and properties before creating the bp
+
* Demo next meeting of TI bp support
+
* Need to collect requirements
+
** consolidate things to one location
+
** creation with full properties before setting bp
+
** get info from backend
+
  
Next conference call will be in two weeks on Februrary the 22nd
+
* Grouping
 +
** Issue with Deltas.  When there are multiple entries of the same element, which one should be expanded, selected.  Work continues.
  
== January 25, 2011 ==
+
* Substitute path feature [https://bugs.eclipse/472765 Bug 472765]
 +
** New patch version should be posted this week or next
 +
*** Will use GDB behing CDT's current path mapping source container
  
=== Attendees ===
+
* GDB is expected to soon provide both a MI console and a separate CLI console towards the same GDB session
# Norman Yee (Analog Devices)
+
** We plan on integrating this in CDT to provide a full GDB console for Neon
# Mikhail Khodjaiants (CodeSourcery)
+
*** Recommendation to look at o.e.remote.console and mimic that approach of integrating the terminal widget into the console view
# Aaron Spear (Mentor Graphics)
+
*** The widget is in o.e.tm.terminal.control
# Ken Ryall (Nokia)
+
** Existing MI events will keep Eclipse in sync with commands given through the GDB console
# Shaiju (Tensilica)
+
** Kichwa Coders is looking at providing a Pyton/EASE console.  This may be great to integrate with the GDB console, if possible.  More discussions needed to clarify.
# Dobrin Alexiev (TI)
+
** Taking this new GDB feature further could allow to 'attach' CDT to an ongoing GDB debugging session.  This would allow users to decide to use eclipse even after they have started and progressed in their GDB debug session.  More investigation needed.
# Patrick Chuong (TI)
+
# Bill Swanson (Tilera)
+
# Pawel Piech (Windriver)
+
# Doug Schaefer (Windriver)
+
# Marc Khouzam (Ericsson)
+
  
 +
* Reverse debugging with btrace
 +
** Feature supported by newer Intel processors
 +
** We need to be careful not to pollute the UI with options/dialogues that are not available to most users and try to only show such extensions when they are supported (by the processor in this case).
  
Next conference call will be in two weeks on Februrary the 8th
+
* CDT 9.0 progress
 +
** Some deprecated API have been removed.  More patches pending.
  
 +
* New plan is to hold the Debug call and CDT call together each month on the first Tuesday of the month (current CDT slot)
  
'''Synchronized/Grouped Run Control Operations (Synchronous operations)'''
+
== October 13th, 2015 ==
* A synchronous the operation is an operation that makes all elements in a group run in "lock-step" and stop at exactly the same time.
+
* A group leader is needed when doing a true sync operation to know when the operation is finished.  For example a group of core 1, 2 and 3 can be requested to step with leader being core 2; the operation will step each core at the same time and will stop all three at exactly the point where core 2 (the leader) will finish its step
+
* Both Mentor and Ericsson use synchronous operations
+
* TI 'simulates' a sync operation in their backend by doing a tight async operation that is actually a full step of each element of the group, but that is done at the same time
+
* GDB has limited support for this kind of operation.  The --all flag can be used and the scheduler-locking feature can help.
+
* Tenselica do a loop in the frontend to do individual steps for each group member.
+
* Tilera allows elements of the group to perform the operation only if the leader does not stop right away.  The idea is to allow the user to focus on the process that has a problem.  This is like all-stop except that when stepping the one process, the others should not move at all, or at least not until the current process progresses enough.  "Why resume all the processes if they will be stopped again almost immediately because the main process has hit a breakpoint again".
+
* The eclipse support for this type of operation must be based on backend capabilities because different backend can support this in different ways. This can be achieved by having the DSF services perform the operation in the way their backend supports
+
* Some backend may support may of the synch/asynch/hybrid operations. Do we provide the user with a choice of what type of operation should be used?
+
* There seems to be high interest for such support in Eclipse so we suggest getting this effort started.
+
* Shaiju from Tenselica will try to get time allocated to work on this.
+
  
'''Global breakpoints'''
+
=== Attendees ===
* Feature coming to GDB where a breakpoint can be set in a binary without specifying which process should be stopped.  Any process hitting the breakpoint will be stopped and the debugger will attach to it.
+
* Which set of process does this global breakpoint apply to?  All processes, a subset, current and new processes, etc.  GDB will have support for such a configuration
+
* For Eclipse, using Global Breakpoint will greatly benefit from the task we identified and called "Enhanced breakpoint support"
+
  
'''Enhanced breakpoint support'''
+
# Alvaro Sanchez-Leon (Ericsson)
* WindRiver would like to merge their breakpoint support with CDT.  No timeline for it though.  Who from WindRiver could be involved?
+
# Marc Dumais (Ericsson)
* There is high interest in the community and from different companies.  We need to identify someone to lead this effort
+
# Tracy Miranda (Kichwa Coders)
 +
# Jonah Graham (Kichwa Coders)
 +
# Mikhail Khodjaiants (Mentor)
 +
# Doug Schaefer (QNX)
 +
# William Riley (Renesas)
 +
# Marc Khouzam (Ericsson)
  
'''Common changes'''
+
=== Minutes ===
* Pawel agreed that changes that are to be used by multiple DSF debuggers can be put in DSF as long as backward compatibility is respected
+
* If he cannot find time to review such patches, they will need to be handled by other DSF commmitters
+
  
'''Visualizer view'''
+
* Grouping
* Bill posted a proposal and opened http://bugs.eclipse.org/335027
+
** New patch posted to gerrit https://git.eclipse.org/r/#/c/46107/
* Mikhail, Dobrin and Marc have already reviewed the document and will post comments to the bug.  Others in the community are encouraged to do the same.
+
*** Grouping works but the views don't refresh
* Need more use-cases for harware types to be added the document
+
*** Support for Groups containing other groups although the delta handling not done yet
* If needed, we could have a separate conf call to address some question about this proposal
+
** Implementation mostly in DSF-GDB
* Can we use GEF (Graphical Editing Framework) of Eclipse to help with the different 'Presentations' for this view?
+
** New VM node for a group
* The framework would not use GEF, but the presentations could.
+
** Kichwa Coders are interested also
* Would PTP benefit of this framework?  We should involve them, maybe at EclipseCon11
+
* Substitute path feature [https://bugs.eclipse/472765 Bug 472765]
* This framework/view should be in its own plugins
+
** First review was done and Jonah is working on a new version
 +
** Currently, it is a new source container the user much choose
 +
*** Doug suggests making it the default behind the scene of the existing path mapping
 +
*** Jonah will write a patch re-using the existing path mapping
 +
*** This will avoid the issue of showing a source container that may not be supported if the backend does not support it
 +
*** It will also make it transparent to the user
 +
*** It is better to use GDB to do the path mapping as it will work for commands from the gdb console also
  
'''Pin&Clone'''
+
* CDT 9.0 progress
* Feature available in CDT with an example in DSF-GDBCan apply easily to DSF and non-DSF debuggers.
+
** Doug faces issues with the launch target changing just before the launch starts
* Icons for pinning are still waiting to be committed
+
*** Launch delegate should be in platform.  Doug won't have time for Neon, but after.
 +
*** Launch delegates in CDT are too generic and should be split up
 +
** Using API filters to better control changes and keep API Tool highlighting API-breaking changes?
 +
*** No, change the version now to make it clear there are API breaking changesIt is felt that will be better for users.
 +
* Stand-alone Debugger script vs Stand-alone RCP
 +
** The script provides a way to launch a debug session from the command-line using an existing eclipse installation.  It is a different scenario than downloading the RCP installation.
 +
** Kichwa Coders have a feature that allows to launch the debugger into a '''running''' eclipse using a port.  Something of the sort would be nice in open-source
 +
** Standalone script reduces the content of the launched eclipse.  This is to stick to the debugger functionality.  It does not provide build feature, but maybe it should
  
'''Grouping'''
+
* Suggestion to add features to CPP package to make then known
* Multi-level hierarchy: Patch is ready but needs more testing
+
** The real problem mis that we need to better advertise the work we do
* Next step is to implement the grouping/hiding actions
+
** Answer questions on Stack Overflow would help the community
 +
** More blogging would help
 +
* UI testing
 +
** RCPTT looks promising
 +
** A contribution of a test or two using RCPTT for CDT would help get people familiar with it
  
== December 14, 2010 ==
+
== August 11th, 2015 ==
  
 
=== Attendees ===
 
=== Attendees ===
# Mikhail Khodjaiants (CodeSourcery)
+
 
# Stan Shebs (CodeSourcery)
+
# Phil Mason (Broadcom)
# John Cortell (Freescale)
+
# Alvaro Sanchez-Leon (Ericsson)
# Chris Recoskie (IBM)
+
# Marc-Andre Laperle (Ericsson)
# Aaron Spear (Mentor Graphics)
+
# Marc Dumais (Ericsson)
# Ken Ryall (Nokia)
+
# Tracy Miranda (Kichwa Coders)
# Shaiju (Tensilica)
+
# Jonah Graham (Kichwa Coders)
# Dobrin Alexiev (TI)
+
# Mikhail Khodjaiants (Mentor)
# Patrick Chuong (TI)
+
# Doug Schaefer (QNX)
# Bill Swanson (Tilera)
+
# Jeff Johnston (RedHat)
# Pawel Piech (Windriver)
+
# William Riley (Renesas)
# Doug Schaefer (Windriver)
+
# Onur Akdemir
+
 
# Marc Khouzam (Ericsson)
 
# Marc Khouzam (Ericsson)
# Dominique Toupin (Ericsson)
 
  
 
=== Minutes ===
 
=== Minutes ===
  
'''What about the Multi-core association working group?'''
+
* 8.8 RC1 this Monday, August 17th, 2015.  No features after that until CDT 9.0/Neon
* Chaired by Aaron Spear from Mentor
+
* Grouping [http://eclip.se/336876 bug 336876]
* Current focus is on Tracing
+
** Alvaro and Marc K are reviving Dobrin's work
* Interest in Debug as well but wider than Eclipse
+
** Marc K will write proposed work to bug
* Good for such things as protocols, synchronization between different debuggers, etc
+
* GDB bp actions in CDT [http://eclip.se/473208 bug 473208]
 +
** Revisit bp action framework for CDT 9.0.  Updated 9.0 wiki for it.
 +
** Mikhail to open bugzillas on improvements that should be done
 +
** We want to hook running GDB commands to the existing GDB bp command framework.
 +
** GDB bp commands have some limitations in MI that we need to workaround
 +
** No time to work on it right now
 +
* Adding a context menu to run GDB script from debug view
 +
** Mikhail to submit a patch
 +
* The Attach to Application launch should disable auto build by default [http://eclip.se/474169 bug 474169]
 +
** Agreement to disable auto build for attach
 +
** We should also address the case of project-less debugging where building the project just does not make sense
 +
* Adding a breakpoint with "Add Line Breakpoint (C/C++)" is not reflected in vertical ruler [http://eclip.se/474179 bug 474179]
 +
** Current problem when not using absolute file path
 +
** We could use debugger to figure it out but the change is not trivial as the debugger is not always running
 +
** Jonah to submit patch to require using absolute path for CDT 8.8.
 +
** Discussion also lead to talking about displaying the different installations of a single platform breakpoint
 +
** Tracy and Jonah will see if they can get funding to work on this
 +
** Mikhail posted a patch to use detail pane to show installation information [https://git.eclipse.org/r/17181 Gerrit 17181]
 +
* Add support for gdb's "set substitute-path from to"
 +
** CDT path mappings were added before this support from GDB
 +
** Using GDB's feature instead would allow the GDB console to show all the proper paths
 +
** Can we use this GDB feature to power the CDT path mapping feature?
 +
* Support for multiple bp types on the same line
 +
** Marc-Andre tried to set a bp where there was already a dprintf
 +
** This may be a rare use-case.  Let's see if it comes up again.
  
'''Things for Indigo'''
+
== July 14th, 2015 ==
* Pin & Clone (Patrick)
+
* Grouping & Hiding & Commands on containers (Dobrin)
+
* Multi-process (Marc)
+
* Start of Visualizer view effort (Bill, Marc, group)
+
  
'''Visualizer view'''
+
=== Attendees ===
* Need to start to discuss what this view should do to make sure it addresses what we need.
+
* Bill will start a wiki to put up ideas and suggestions, like the kind of environment, the types of visualization
+
* Marc to open bugzilla for visualizer view discussion
+
* We will need a good framework to provide a way to do the visualization
+
* Visualizer view will need to handle multiple targets/launches.  It should switch the type of display as the user chooses a different launch.
+
* Sub tasks
+
** We may need to move the run control buttons to the main toolbar to be able to have different views use them.  Or should we have them in each of the driving views?  Do we need a bug to track this?  Patrick can prototype this.
+
** Need to have platform support the concept of the Debug View set its selection based on another view that is a debug context provider.  Need some service to translate the debug context of one view into something consumable by other views.
+
  
'''Breakpoint management for 'multi-core' targets'''
+
# Phil Mason (Broadcom)
* Current CDT breakpoint support is very limited
+
# Marc Dumais (Ericsson)
* We need to create a breakpoint for a specific target/core/process/thread
+
# Tracy Miranda (Kichwa Coders)
** There is support for thread-specific, but only after creation
+
# Mikhail Khodjaiants (Mentor)
* Freescale has a mode that restricts the breakpoints creation to the active context, if this option is chosen by the user
+
# Doug Schaefer (QNX)
* Breakpoints view should somehow show quickly where a breakpoints is installed
+
# William Riley (Renesas)
* Maybe the visualizer view could also be used to show breakpoint with respects to cores/processes/threads
+
# Marc Khouzam (Ericsson)
* TI uses breakpoint grouping and filtering in the Breakpoints view to improve the situation
+
* TI applies breakpoints to the current multi-selection of the Debug view to control where they are set, that info is then stored in breakpoint attributes for re-creation
+
* We need a unified solutions for enhanced breakpoint support
+
  
'''Status'''
+
=== Minutes ===
* Pin&Clone
+
** Support is now part of platform
+
** Patch posted for CDT for the different debug views.  Feedback would be good.  Patch can be found in [http://bugs.eclipse.org/331781 Bug 331781]
+
* Grouping and Hiding
+
** Limited progress.  Patch for discussion should be posted this week.  [http://bugs.eclipse.org/240208 Bug 240208]
+
* Multi-process
+
** Demo of DSF-GDB status
+
*** With GDB 7.2 and the patch posted at [http://bugs.eclipse.org/237306 Bug 237306], we can freely start multiple processes and attach to multiple running processes in the same debug session.
+
*** The UI workflow is unclear.  How do we specify the details for each new process to be started?
+
*** It would be nice to use a view of all processes and double-click on one to attach
+
*** RSE target view could be used for this as well, but that would be outside CDT
+
** Demo of EDC
+
*** It uses different launches but shows them under the same top-level node in the Debug view
+
*** The top-level node is the target
+
*** When a new launch is run for the same target, it is automatically shown under the same top-level node
+
*** A new launch to the same target automatically re-uses the same connection to the target
+
*** Allows to have full settings for each process through a launch UI since it is a fully launch
+
*** Launches persists settings so they can be re-used
+
*** To avoid the heaviness of launches, the user usually won't use the launch UI but will use quick buttons and double-clicks that will trigger the launch automatically.  The launch UI remains available for advanced cases of configuration.  But underneath it all, each process is a different launch.
+
*** Source lookup was enhanced to allow the user to choose a launch's individual source lookup info, or the superset of all common-launches source lookup info.
+
 
+
'''Other'''
+
* What about filtering of the debug view?  This should be achievable once we have general Grouping and Hiding feature.
+
* There is interest in a ''Global Breakpoints'' feature that will allow to set a breakpoint in a piece of code, without specifying which process/core/thread.  This feature will be available from GDB using a Linux Kernel module, sometime next year.
+
  
 +
* 8.7/Mars release
 +
** Went well, no surprises
 +
* [https://wiki.eclipse.org/CDT/summitfall2015 CDT Summit Fall 2015] on the 14th of September in Ottawa
 +
** Please sign up on wiki page
 +
* Release plan
 +
** 8.8 September 26th with Mars SR1 (new features allowed)
 +
** 8.9 Cancelled to focus all energies on 9.0, replaced with 8.8.1 February 26th with Mars SR2 (bug fix only)
 +
** 9.0 Major release June 2016
 +
* Branching strategy for release
 +
** 8.8 development continues on master until its release
 +
** 9.0 development starts on master once 8.8 is released
 +
** 8.8.1 fixes and release will be done on the cdt_8_8 branch
 +
* CDI will be '''removed''' from the CDT 9.0 release
 +
** Plugins will be removed
 +
** Marc will send an official email to notify of the necessary migration
 +
* o.e.remote continues to evolve to become an RSE replacement
 +
** File Browser is being discussed
 +
** Using it for CDT's remote debug will probably go to the 9.0 release so we can completely remove the dependency to RSE
 +
* LLDB support would be nice.  Discussions in [http://eclip.se/405670 Bug 405670]
 +
** There seems to be two different MI implementations for LLDB
 +
** Are the LLDB MI implementations supporting MI events?
 +
* Next effort to improve extensibility of DSF-GDB
 +
** [http://eclip.se/469763 Bug 469763] to provide a top-level service class
 +
** We'll use the naming convention: GDB<serviceName>_HEAD
  
== November 30, 2010 ==
+
== June 9th, 2015 ==
  
 
=== Attendees ===
 
=== Attendees ===
# Norman Yi (Analog Devices)
+
 
# Mikhail Khodjaiants (CodeSourcery)
+
# Phil Mason (Broadcom)
# Stan Shebs (CodeSourcery)
+
# Marc Dumais (Ericsson)
# John Cortell (Freescale)
+
# Jonah Graham (Kichwa Coders)
# Chris Recoskie (IBM)
+
# Mikhail Khodjaiants (Mentor)
# Abeer Bagul (Tenselica)
+
# Jeff Johnston (RedHat)
# Anand Bhange (Tenselica)
+
# William Riley (Renesas)
# Pete Macliesh (Tensilica)
+
# Shaijup (Tenselica)
+
# Dobrin Alexiev (TI)
+
# Patrick Chuong (TI)
+
# Bill Swanson (Tilera)
+
# Randy Rohrbach (Windriver)
+
# Doug Schaefer (Windriver)
+
 
# Marc Khouzam (Ericsson)
 
# Marc Khouzam (Ericsson)
# Dominique Toupin (Ericsson)
 
  
 
=== Minutes ===
 
=== Minutes ===
  
'''Tilera's Grid view demo (Bill)'''
+
* Mars release
* Bill showed Tilera's development environment, focusing on the Grid view.
+
** William did the GDB Hardware debug testinging without any issues
* There is a Monitor view which presents somewhat of a summary of the information of the DebugView
+
* RCP Standalone debugger
* The DV uses the standard layout of Launch->process->threads->stack frames
+
** CDT's update site now has an rcp and rcp-repository directory.  The first contains the RCP tar files, the second is update site for the RCP (that update site will make sense for future upgrades).
* Grid view
+
** We plan on putting a direct link in CDT's download page to the RCP binaries and update site.
** [[Image:TileraGridView.png]]
+
** How can we advertise this?
** Threads are shown in the grid view based on their location on the hardware
+
** Update N&N
** Selecting a thread in the Grid view will change the active selection of the DV
+
** Update Standalone debugger wiki page
** In fact, the Grid view and the DV are kept in sync at all times. This implies also that a selection change in the DV will update the selection in the Grid view.
+
** Maybe Doug can blog about it?
** The synchronization of the DV with the Grid view for the active debug context is done by faking selection events (deltas).
+
** We could put some info in the CDT documentation, although it is too late for 8.7
** It is possible to select a range within the Grid view using the mouse.  The active context of the DV will be chosen arbitrarily within the selected range.
+
** Is there a use case for the RCP Standalone debugger and the Standalone debugger scrip?
** View provides Resume/Step/Suspend buttons that apply to the active context, as is done in the DV.
+
* Remote debugging
** Hovering over the Grid view provides information about the threads and hardware.
+
** GDB 7.10 will allow to use the remote binary even on the host.
** To avoid having threads move around much too fast in the view, it only reports changes when a thread actually stays in the same location for a certain minimum amount of time.  This is done by a 'tile monitor' process that sits between Eclipse and the target.
+
*** Won't work for stripped remote binaries
* It was mentioned that using the DebugSelectionProvider and DebugSelectionListner API of the platform should allow us to keep the synchronization between two views providing the active context at the same time,
+
*** Could be a problem if the bandwith between GDB and gdbserver is bad
** We need to confirm that the platform properly supports having multiple selectionProviders at the same time.
+
*** CDT will need to allwo the user to choose between using the remote binary or not
** It would be good to get a small prototype with 2 or 3 active selectionProviders including the DV
+
*** https://bugs.eclipse.org/bugs/show_bug.cgi?id=400033#c46
** Is the DV already a selectionListener?  It is believed so, but should be verified
+
*** The 'stripped' binary problem can apply to local attach, where the process could have been run using a stripped binary
** Is there a impact to the Pin&Clone feature from having multiple selectionProviders?
+
** Automatic remote debugging could provide an option to automatically strip the binary before uploading it to the target
* One suggestion put forth was to have a feature to allow to select a variable and to show its content on the Grid view
+
* Interrupting issues
* Tilera is interested in having a view like the Grid view in open-source
+
** On slow targets, interrupt can take a long enough time that the user presses interrupt a second time, which can kill GDB
* Bill explained that the main issues with contributing the Grid view to open-source, is that the current implementation is not generic.  We would need an generic API to allow for different layout for such a view
+
** CDT should disable the interrupt button when an interrupt is pending.
* There was interest from almost everyone in the call in getting this view part of open-sourceSome people may be able to directly help.
+
** This was in the context of setting breakpoints which require CDT to interrupt the target
* There were still questions about how PTP handles such a view since they have something similar, but no one from PTP was on the call
+
** GDB requires we interrupt the target to set breakpoints only on linux and only for native (not using gdbserver).  We will try to get this improved in GDB to not have this restriction and allow CDT to be simpler
* There was a concern about potential existing patents on the Tilera's Grid viewWe need to confirm that no such thing would prevent us from implementing this type of view, before actually starting the work.
+
* Need to improve extensibility of DSF-GDB services [http://eclip.se/469763 Bug 469763]
 +
** Example of current situation:
 +
  DSF-GDB provides:
 +
  GDBRunControl_7_2_NS extends GDBRunControl_7_0_NS
 +
someone specializes this by creating
 +
  MyPrivateGDBRunControl extends GDBRunControl_7_2_NS
 +
The day that CDT adds a new version like
 +
  GDBRunControl_7_9_NS extends GDBRunControl_7_2_NS
 +
the extending class MyPrivateGDBRunControl will not use GDBRunControl_7_9_NS
 +
unless the developer notices this new version. Both Mikhail and William confirmed
 +
  they regularly have this issue.
  
'''Pin&Clone feature'''
+
  We propose to insert an empty class that will always be at the top.
* Patrick gave a demo of the Pin&Clone feature as proposed right now. The lable/icon indicator was not working because of a recent change requested by the platform.
+
  Something like
* Pin&Clone also supports a multi-selection pinning. This means that a view pinned to more than one context, would change when the active context changes to any of the context part of its pin set.
+
  GDBRunControl_NS_Head extends GDBRunControl_7_2_NS
* Pinning will also work for 'groups' once such a concept is implemented
+
Extenders would use
* The main use-case of this feature is to compare data of different contexts, and keep comparing as execution progresses
+
  MyPrivateGDBRunControl extends GDBRunControl_NS_Head
* Depending on the situation, the context to be pinned to may be a parent of the one that is currently active. Ultimately, for CDT, the decision of which context in the hierarchy should be the one used for pinning, should be a backend decision (for DSF, it should be the services making that decision)
+
  When CDT wants to introduce GDBRunControl_7_9_NS, we would do it like this:
* It is unclear how to store the pinned context so that it can be found again for a new debugging session.
+
  GDBRunControl_NS_Head extends GDBRunControl_7_9_NS extends GDBRunControl_7_2_NS
* The patch for the platform is close to being approved (it was actualy committed the day after the meeting!)
+
which will allow MyPrivateGDBRunControl to automatically inherit from the new version.
* Once the platforms allows for the pin&clone feature, we can implement it in CDT. There was a concern that it may be too advanced for some users; it was suggested to use an ActionSet or a Preference to enable the feature
+
This change need not break the API and could be done easily anytime.
  
'''Grouping Demo'''
+
* Watchpoint using GDB's -location flag [http://eclip.se/469764 Bug 469764]
* Dobrin gave a nice demo (similar to the one given at the CDT summit) to show the grouping/hiding feature that he is trying to contribute to CDT
+
** Currently setting watchpoints to say ptr->a will cause the watchpoint to follow the expression.
* There would be a way to group/ungroup/hide any part of the context hierarchy
+
** If the value of ptr changes, the watchpoint will hit
* Operations can be performed on a group (resume/step/suspend)
+
** Often, the user wants to know if the original ptr->a changes
* The concept of groups does not need to be supported by the backend.  In such a situation, the backend services would loop over all element of the group to perform the operation
+
** GDB offers this by using the 'watch -location' flag
* Dobrin also showed how TI uses the launch to allow the user to select which types of nodes are going to be shown in the DV
+
** CDT should offer access to that
 +
** Jonah has confirmed that to workaround this limitation he has to first find the address of ptr->a and use that hard coded address to set the wathpoint
  
'''Other'''
+
== May 12th, 2015 ==
* Stan Shebs, one of the GDB maintainers, mentioned that there is interest from GDB to support "multi-core" debugging
+
* With that in mind, he asked that if people ran across scalability limitations in GDB itself, we should report them to the GDB mailing list (gdb@sourceware.org).  This will enable the GDB community to address those issues, which will surely eventually affect eclipse when using GDB.
+
* One the topic of scalability, it was mentioned that the Expressions view is not very efficient; every expression is queried not matter what the context is, an in many cases the expressions don't apply to the current context.
+
 
+
== November 16, 2010 ==
+
  
 
=== Attendees ===
 
=== Attendees ===
# Norman Yi (Analog Devices)
+
 
# John Cortell (Freescale)
+
# Andrew McLachlan (Analog Devices)
# Abeer Bagul (Tensilica)
+
# Phil Mason (Broadcom)
# Anand Bhange (Tensilica)
+
# Alvaro Sanchez-Leon (Ericsson)
# Pete Macliesh (Tensilica)
+
# Marc Dumais (Ericsson)
# Patrick Chuong (TI)
+
# Mikhail Khodjaiants (Mentor)
# Dobrin Alexiev (TI)
+
# William Riley (Renesas)
# Bill Swanson (Tilera)
+
# Pawel Piech (WindRiver)
+
# Doug Schaefer (WindRiver)
+
 
# Marc Khouzam (Ericsson)
 
# Marc Khouzam (Ericsson)
# Dominique Toupin (Ericsson)
 
  
 
=== Minutes ===
 
=== Minutes ===
  
* Level of expected contributions from interested parties
+
* Mars release
** Patrick and Dobrin have time allocated to this
+
** 8.7 branch created.  Bugs should be committed to both cdt_8_7 and master
** Marc has time allocated for this
+
* Standalone debugger fails to launch with M6 [http://eclip.se/467109 Bug 467109]
** Pete can have someone help on UI work
+
** Marc K sees this on his machine.  Alvaro to try on his machine to confirm
** Other commitments will clarify as the effort takes shape
+
* RCP Standalone debugger
 +
** Separate download to install
 +
** Easy to get working
 +
** Easy way to get users to use Eclipse without any setup
 +
** Patch under review
 +
* Docker contribution
 +
** Waiting for IP approval CORRECTION after meeting: IP Approval received. Contribution to Linux Tools done for M7. Contribution to CDT being updated for RC1
 +
** Plugins in LinuxTools to support Docker containers
 +
** Patch proposed for CDT to launch a binary inside a Docker container (similar to remote debugging)
 +
** Would be an optional feature of CDT
 +
* Register Grouping and Variable Objects for registers
 +
** Mikhail has continued work on this patch but has no time currently
 +
** Trying a new registers service with a second service on top to do the grouping
 +
** What are the registers listed that don't have names given by GDB?
 +
** We can fetch the values using -data-list-register-values and the index, but we don't have a name for the user
 +
** Without a name, it does not seem valuable for a user
 +
** Can't use varObj with this also, as it needs a name
 +
* RunControl Grouping
 +
** Marc K working on reviving Dobrin's grouping patch
 +
** Final goal is to support GDB's planned ITSet grouping feature
 +
* [https://wiki.eclipse.org/CDT/User/NewIn87#Exited_processes_shown_in_the_debug_view Showing Exited processes]
 +
* Other
 +
** GDB has a format to pad hex output with 0s.  This can be useful especially for registers
 +
** Should CDT use it?  Should it be another optional format for the user to choose from?
  
* Conference calls
+
== March 17th, 2015 ==
** We will continue with this time slot (11am Ottawa time) every two weeks or so.  We will adjust the frequency depending on the progress.
+
  
* Current status
+
=== Attendees ===
** TI (Patrick and Dobrin) are working on open-sourcing some of their multi-core features
+
*** [http://wiki.eclipse.org/PinAndClone Pin & Clone effort] (Patrick)
+
**** He has posted a small patch for platform which would allow other projects (e.g., CDT) to implement Pin and Clone.  He is waiting for the platform team to review the patch in detail.
+
**** Patrick was ready to give a demo but we ran out of time.  We will have the demo at the next conference call.
+
**** After the demo, we can start discussing and potentially bringing to the cdt-dev list the question of having this feature committed to CDT (pending the approval of the small platform patch)
+
**** Worked tracked in [http://bugs.eclipse.org/327263 Bug 327263].  Anyone can try out the feature as follows:
+
****# Checkout the platform org.eclipse.debug and org.eclipse.debug.ui plugins
+
****# Apply the latest patch available in [http://bugs.eclipse.org/327263 Bug 327263]
+
****# Save the [https://bugs.eclipse.org/bugs/attachment.cgi?id=182536 test plugin] also attached to Bug 327263, and import it into your workspace.
+
****# Start cloning and pinning debug views using the new buttons added to each view!
+
*** Recursive set of container context in DSF/DSF-GDB (Dobrin)
+
**** The approach is to use the Debug View with a recursive set of containers, where the backend debugger remains the top-level entity.
+
**** Worked tracked in [http://bugs.eclipse.org/240208 Bug 240208]
+
**** Issues with deltas when enabling recursive containers
+
**** Does anyone have a use-case where a container would also have a stack frame under it?  Currently no, so we won't pursue this at this time.
+
**** Dobrin will demo his progress at the next conference call
+
**** TI's uses cases all focus on 10 to 50 contexts in the debug view.  They currently feel that dealing with more than 100 contexts requires a new approach.
+
  
 +
# Andrew McLachlan (Analog Devices)
 +
# Phil Mason (Broadcom)
 +
# Alvaro Sanchez-Leon (Ericsson)
 +
# Marc-Andre Laperle (Ericsson)
 +
# Marc Dumais (Ericsson)
 +
# Mikhail Khodjaiants (Mentor)
 +
# Doug Schaefer (QNX)
 +
# William Riley (Renesas)
 +
# Marc Khouzam (Ericsson)
  
* Discussions on [http://thing1.linuxdevices.com/files/misc/tilera_mde_debugger.jpg Tilera's Grid view]:
+
=== Minutes ===
** The view has proven useful, but mostly when knowledge about the underlying hardware was relevant to the problem being debugged.
+
* Summary of CDT Summit/CDT Day/EclipseCon
** Tilera saw that software designers still view their software as a generic grouping of processes and threads, as shown in the Debug View.
+
** Java 8
** Different users approach different problems in different ways.  We should give users different views, etc, to tackle problems and let them choose what suits their needs.
+
** do we do it on master, it will break java 7, it should be done on the 9_0 branch
** Concerns were voiced about having two selection providers (Debug View and Grid view), but Bill confirmed he was able to get it to work.  A demo will be given at the next call.
+
** email to the list
** Someone asked if PTP had to deal with multiple selection providers for their views. We did not know the answer to this.
+
* cdt 9.0 for Mars+1 release (June 2016)
 +
** 9_0 branch where API breaking changes are allowed
 +
* Doug plans to split out native plugins into their own git repo and build them separately to provide them to others that should not depend on CDT
 +
* CDT 8.7 plans
 +
** Grouping feature to support
 +
*** Marc K has started looking at this again, based on the work from TI
 +
** Memory view fixes/improvements
 +
*** Alvaro working on this
 +
** VarObjects for Registers would be interesting.
 +
*** Currently we assume every register is under a group, but it may not be the right thing to do
 +
* Enhancement bug written to LaunchBar allowing to handle multiple launches/launch group http://eclip.se/462372
 +
** Mikhail has a patch that removes some duplications in the debug view in the case of the launch group
 +
* Patches needing review
 +
** A couple of breakpoint patches from Mikhail
 +
** William submitted a patch for managed build, will email the list to get noticed
  
 +
== February 5th, 2015 ==
  
* Filtering of information is essential to multi-core debugging.  Grouping and hiding are trying to address this.
+
=== Attendees ===
  
* Clean up wiki page to help people add their use-cases of interest, to help keep focus on the problems we face. [Marc]
+
# Phil Mason (Broadcom)
 +
# Alvaro Sanchez-Leon (Ericsson)
 +
# Marc Dumais (Ericsson)
 +
# Mikhail Khodjaiants (Mentor)
 +
# Vladimir Prus (Mentor)
 +
# Doug Schaefer (QNX)
 +
# Jeff Johnston (RedHat)
 +
# Marc Khouzam (Ericsson)
 +
 
 +
=== Minutes ===
 +
* [https://wiki.eclipse.org/CDT/summitecon2015 CDT Summit/CDT Day]
 +
** Planning continues.  10 attendees have signed up so far.  Based on last year, we expect more though
 +
* CDT 8.6 release
 +
** [https://wiki.eclipse.org/CDT/Manual_Testing Joint testing] to be done
 +
** We hope to have it done by the end of this week
 +
** Everything is on track for the release
 +
* Next CDT release to be 8.7
 +
** Less than two months left until API freeze for Mars, and it does not seem anyone has plans or needs to break the API
 +
** Doug [https://dev.eclipse.org/mhonarc/lists/cdt-dev/msg28861.html posted to the list] to see if there was any concerns about that
 +
* CDT for Mars
 +
** work continues for o.e.remote
 +
** LaunchBar is being updated to follow o.e.remote new APIs
 +
** Autotools will need to be updated as well
 +
** Still planning on removing CDT's dependency to RSE for Mars (Remote Debug launch)
 +
** Connections should not be part of launch configuration as connections are user-specific.  Instead using an OSGI service will be better.
 +
* FindBugs
 +
** Marc to post a patch to enable running FindBugs and PMD as a build profile.
 +
** We can have the nightly build use that profile and see if that proves valuable.
 +
** This will increase the build by about 20 minutes but provide valuable feedback
 +
** The verify job will not run FindBugs
 +
* Visual Studio support contribution
 +
** [https://dev.eclipse.org/mhonarc/lists/cdt-dev/msg28851.html Guy B offered to contribute] a Visual Studio integration to CDT
 +
** Sounds like it can be interesting to some.
 +
** Guy was asked to open a bug to discuss the contribution process
 +
== January 13th, 2015 ==
 +
 
 +
=== Attendees ===
 +
 
 +
# Alvaro Sanchez-Leon (Ericsson)
 +
# Marc Dumais (Ericsson)
 +
# Mikhail Khodjaiants (Mentor)
 +
# Doug Schaefer (QNX)
 +
# Jeff Johnston (RedHat)
 +
# William Riley (Renesas)
 +
# Marc Khouzam (Ericsson)
 +
 
 +
=== Minutes ===
 +
* CDT Summit/CDT Day
 +
** CDT Summit wiki.  Please sign up.
 +
** CDT Day planned. 7 talks on different topics related to CDT
 +
* CDT 8.6 anything missing?
 +
** Nothing major planned for the last week
 +
* Register grouping committed. https://wiki.eclipse.org/CDT/User/NewIn86#Register_grouping
 +
** VarObjects for Registers would be interesting.
 +
** If time allows, Mikhail may have a look again.
 +
* All Debug JUnit tests running on HIPP using all of GDB >= 7.1
 +
**  Local tests all pass: https://hudson.eclipse.org/cdt/job/debug-tests-master-all-gdb-versions/
 +
**  Remote tests down to 7 failures: https://hudson.eclipse.org/cdt/job/debug-remote-tests-master-all-gdb-versions/
 +
* Older GDB support
 +
** In some cases, probably with more recent GCCs, GDB 7.0 cannot step over printf (and maybe other issues)
 +
** We discussed and approved only supporting GDB 7.1 and higher
 +
** We won't remove the code supporting older GDBs but we won't work on making those work
 +
** We will announce in N&N and make it part of the 8.6 review record
 +
* SWTBot testing for Debug/CDT https://git.eclipse.org/r/#/c/35988/
 +
** Proof of concept that provides one test.
 +
** Marc K to review and commit very soon to get the infrastructure in
 +
* LaunchBar will be part of Mars
 +
** Doug will work on a CDT remote launch using o.e.remote
 +
** Doug got request to have a UI for multiple launches working with the launch bar
 +
* Launch UI
 +
** Mikhail has started work on it again
  
* Code Reviews would be valuable.  With people actively working on this effort, we could code review each others work.
+
= Older minutes of meeting =
  
* We will need to allocate time to do proper documentation for the features we will implement in this effort.
+
[[CDT/MultiCoreDebugWorkingGroup/calls/minutes/2014 | 2014 Minutes of meetings]]<br>
 +
[[CDT/MultiCoreDebugWorkingGroup/calls/minutes/2013 | 2013 Minutes of meetings]]<br>
 +
[[CDT/MultiCoreDebugWorkingGroup/calls/minutes/2012 | 2012 Minutes of meetings]]<br>
 +
[[CDT/MultiCoreDebugWorkingGroup/calls/minutes/2011 | 2011 Minutes of meetings]]<br>
 +
[[CDT/MultiCoreDebugWorkingGroup/calls/minutes/2010 | 2010 Minutes of meetings]]<br>

Latest revision as of 16:06, 16 January 2020

Multicore Debug Workgroup Minutes of Meetings

January 12th, 2016

Attendees

  1. Phil Mason (Broadcom)
  2. Alvaro Sanchez-Leon (Ericsson)
  3. Marc Dumais (Ericsson)
  4. Jonah Graham (Kichwa Coders)
  5. Mikhail Khodjaiants (Mentor)
  6. Marc Khouzam (Ericsson)

Minutes

  • CDT call and Debug call will be merged. We'll hold a single monthly call on the first Tuesday of the month.
  • Address breakpoints don't work well with multi-process
    • Mikhail to find existing patch for this problem
  • Showing an entry for each installation of a breakpoint in the breakpoint view
    • Continued interest in that feature from Kichwa Coders, Ericsson
    • Marc K to schedule a breakpoint call to help define what work would be needed
  • CDT 8.8.1 release on track. Some sanity tests should be done around RC1 or RC2 in a couple of weeks.
  • Grouping feature continues. More complex than expected but progressing.
    • Kichwas Coders have been able to make use of some of those changes from the Gerrit review. They will give feedback if any.
  • Substitute path contribution
    • Marc K to start with review https://git.eclipse.org/r/#/c/63288/
    • Main review for path mapping now re-uses exiting UI and maps it to GDB backend when available
      • When using GDB path mapping _all_ paths coming from GDB are properly mapped
      • Cannot remove the bp synchronizer usage of path map because not all backends supports; however we should update the source service to behave properly when using GDB path mapping; Jonah's patch should cover for that.
  • Full GDB Console
    • We hope to have support from GDB in GDB 7.11 (fingers crossed)
    • Integration in CDT with a GDB prototype is going well
    • Exact same look and feel for user except that the console has all the feature of the real GDB CLI
    • Does the new console support giving python commands? Setting breakpoint commands? etc
  • Reverse debugging with btrace
    • Review difficult because UI changes are intrusive
    • Contribution needs a CQ and the deadline is Feb 12th for CQ submission
    • Special hardware is necessary to fully test the patch; luckily Ericsson has access to such hardware
    • Marc K still hopes to figure things out in time
  • CDT 9.0: People are encouraged to look at actions at https://wiki.eclipse.org/CDT/APIBreakages

December 1st, 2015

Attendees

  1. Phil Mason (Broadcom)
  2. Alvaro Sanchez-Leon (Ericsson)
  3. Marc Dumais (Ericsson)
  4. Tracy Miranda (Kichwa Coders)
  5. Mikhail Khodjaiants (Mentor)
  6. Doug Schaefer (QNX)
  7. Marc Khouzam (Ericsson)

Minutes

  • CDT Arduino
    • Meet-up to be held Dec 2nd. Doug will send invite to the list.
    • GDB Stub now works on some Arduino board and CDT was able to hook to it using our GDB integration
  • Multiple people interested in using RCPTT but no progress yet
  • Grouping
    • Issue with Deltas. When there are multiple entries of the same element, which one should be expanded, selected. Work continues.
  • Substitute path feature Bug 472765
    • New patch version should be posted this week or next
      • Will use GDB behing CDT's current path mapping source container
  • GDB is expected to soon provide both a MI console and a separate CLI console towards the same GDB session
    • We plan on integrating this in CDT to provide a full GDB console for Neon
      • Recommendation to look at o.e.remote.console and mimic that approach of integrating the terminal widget into the console view
      • The widget is in o.e.tm.terminal.control
    • Existing MI events will keep Eclipse in sync with commands given through the GDB console
    • Kichwa Coders is looking at providing a Pyton/EASE console. This may be great to integrate with the GDB console, if possible. More discussions needed to clarify.
    • Taking this new GDB feature further could allow to 'attach' CDT to an ongoing GDB debugging session. This would allow users to decide to use eclipse even after they have started and progressed in their GDB debug session. More investigation needed.
  • Reverse debugging with btrace
    • Feature supported by newer Intel processors
    • We need to be careful not to pollute the UI with options/dialogues that are not available to most users and try to only show such extensions when they are supported (by the processor in this case).
  • CDT 9.0 progress
    • Some deprecated API have been removed. More patches pending.
  • New plan is to hold the Debug call and CDT call together each month on the first Tuesday of the month (current CDT slot)

October 13th, 2015

Attendees

  1. Alvaro Sanchez-Leon (Ericsson)
  2. Marc Dumais (Ericsson)
  3. Tracy Miranda (Kichwa Coders)
  4. Jonah Graham (Kichwa Coders)
  5. Mikhail Khodjaiants (Mentor)
  6. Doug Schaefer (QNX)
  7. William Riley (Renesas)
  8. Marc Khouzam (Ericsson)

Minutes

  • Grouping
    • New patch posted to gerrit https://git.eclipse.org/r/#/c/46107/
      • Grouping works but the views don't refresh
      • Support for Groups containing other groups although the delta handling not done yet
    • Implementation mostly in DSF-GDB
    • New VM node for a group
    • Kichwa Coders are interested also
  • Substitute path feature Bug 472765
    • First review was done and Jonah is working on a new version
    • Currently, it is a new source container the user much choose
      • Doug suggests making it the default behind the scene of the existing path mapping
      • Jonah will write a patch re-using the existing path mapping
      • This will avoid the issue of showing a source container that may not be supported if the backend does not support it
      • It will also make it transparent to the user
      • It is better to use GDB to do the path mapping as it will work for commands from the gdb console also
  • CDT 9.0 progress
    • Doug faces issues with the launch target changing just before the launch starts
      • Launch delegate should be in platform. Doug won't have time for Neon, but after.
      • Launch delegates in CDT are too generic and should be split up
    • Using API filters to better control changes and keep API Tool highlighting API-breaking changes?
      • No, change the version now to make it clear there are API breaking changes. It is felt that will be better for users.
  • Stand-alone Debugger script vs Stand-alone RCP
    • The script provides a way to launch a debug session from the command-line using an existing eclipse installation. It is a different scenario than downloading the RCP installation.
    • Kichwa Coders have a feature that allows to launch the debugger into a running eclipse using a port. Something of the sort would be nice in open-source
    • Standalone script reduces the content of the launched eclipse. This is to stick to the debugger functionality. It does not provide build feature, but maybe it should
  • Suggestion to add features to CPP package to make then known
    • The real problem mis that we need to better advertise the work we do
    • Answer questions on Stack Overflow would help the community
    • More blogging would help
  • UI testing
    • RCPTT looks promising
    • A contribution of a test or two using RCPTT for CDT would help get people familiar with it

August 11th, 2015

Attendees

  1. Phil Mason (Broadcom)
  2. Alvaro Sanchez-Leon (Ericsson)
  3. Marc-Andre Laperle (Ericsson)
  4. Marc Dumais (Ericsson)
  5. Tracy Miranda (Kichwa Coders)
  6. Jonah Graham (Kichwa Coders)
  7. Mikhail Khodjaiants (Mentor)
  8. Doug Schaefer (QNX)
  9. Jeff Johnston (RedHat)
  10. William Riley (Renesas)
  11. Marc Khouzam (Ericsson)

Minutes

  • 8.8 RC1 this Monday, August 17th, 2015. No features after that until CDT 9.0/Neon
  • Grouping bug 336876
    • Alvaro and Marc K are reviving Dobrin's work
    • Marc K will write proposed work to bug
  • GDB bp actions in CDT bug 473208
    • Revisit bp action framework for CDT 9.0. Updated 9.0 wiki for it.
    • Mikhail to open bugzillas on improvements that should be done
    • We want to hook running GDB commands to the existing GDB bp command framework.
    • GDB bp commands have some limitations in MI that we need to workaround
    • No time to work on it right now
  • Adding a context menu to run GDB script from debug view
    • Mikhail to submit a patch
  • The Attach to Application launch should disable auto build by default bug 474169
    • Agreement to disable auto build for attach
    • We should also address the case of project-less debugging where building the project just does not make sense
  • Adding a breakpoint with "Add Line Breakpoint (C/C++)" is not reflected in vertical ruler bug 474179
    • Current problem when not using absolute file path
    • We could use debugger to figure it out but the change is not trivial as the debugger is not always running
    • Jonah to submit patch to require using absolute path for CDT 8.8.
    • Discussion also lead to talking about displaying the different installations of a single platform breakpoint
    • Tracy and Jonah will see if they can get funding to work on this
    • Mikhail posted a patch to use detail pane to show installation information Gerrit 17181
  • Add support for gdb's "set substitute-path from to"
    • CDT path mappings were added before this support from GDB
    • Using GDB's feature instead would allow the GDB console to show all the proper paths
    • Can we use this GDB feature to power the CDT path mapping feature?
  • Support for multiple bp types on the same line
    • Marc-Andre tried to set a bp where there was already a dprintf
    • This may be a rare use-case. Let's see if it comes up again.

July 14th, 2015

Attendees

  1. Phil Mason (Broadcom)
  2. Marc Dumais (Ericsson)
  3. Tracy Miranda (Kichwa Coders)
  4. Mikhail Khodjaiants (Mentor)
  5. Doug Schaefer (QNX)
  6. William Riley (Renesas)
  7. Marc Khouzam (Ericsson)

Minutes

  • 8.7/Mars release
    • Went well, no surprises
  • CDT Summit Fall 2015 on the 14th of September in Ottawa
    • Please sign up on wiki page
  • Release plan
    • 8.8 September 26th with Mars SR1 (new features allowed)
    • 8.9 Cancelled to focus all energies on 9.0, replaced with 8.8.1 February 26th with Mars SR2 (bug fix only)
    • 9.0 Major release June 2016
  • Branching strategy for release
    • 8.8 development continues on master until its release
    • 9.0 development starts on master once 8.8 is released
    • 8.8.1 fixes and release will be done on the cdt_8_8 branch
  • CDI will be removed from the CDT 9.0 release
    • Plugins will be removed
    • Marc will send an official email to notify of the necessary migration
  • o.e.remote continues to evolve to become an RSE replacement
    • File Browser is being discussed
    • Using it for CDT's remote debug will probably go to the 9.0 release so we can completely remove the dependency to RSE
  • LLDB support would be nice. Discussions in Bug 405670
    • There seems to be two different MI implementations for LLDB
    • Are the LLDB MI implementations supporting MI events?
  • Next effort to improve extensibility of DSF-GDB
    • Bug 469763 to provide a top-level service class
    • We'll use the naming convention: GDB<serviceName>_HEAD

June 9th, 2015

Attendees

  1. Phil Mason (Broadcom)
  2. Marc Dumais (Ericsson)
  3. Jonah Graham (Kichwa Coders)
  4. Mikhail Khodjaiants (Mentor)
  5. Jeff Johnston (RedHat)
  6. William Riley (Renesas)
  7. Marc Khouzam (Ericsson)

Minutes

  • Mars release
    • William did the GDB Hardware debug testinging without any issues
  • RCP Standalone debugger
    • CDT's update site now has an rcp and rcp-repository directory. The first contains the RCP tar files, the second is update site for the RCP (that update site will make sense for future upgrades).
    • We plan on putting a direct link in CDT's download page to the RCP binaries and update site.
    • How can we advertise this?
    • Update N&N
    • Update Standalone debugger wiki page
    • Maybe Doug can blog about it?
    • We could put some info in the CDT documentation, although it is too late for 8.7
    • Is there a use case for the RCP Standalone debugger and the Standalone debugger scrip?
  • Remote debugging
    • GDB 7.10 will allow to use the remote binary even on the host.
      • Won't work for stripped remote binaries
      • Could be a problem if the bandwith between GDB and gdbserver is bad
      • CDT will need to allwo the user to choose between using the remote binary or not
      • https://bugs.eclipse.org/bugs/show_bug.cgi?id=400033#c46
      • The 'stripped' binary problem can apply to local attach, where the process could have been run using a stripped binary
    • Automatic remote debugging could provide an option to automatically strip the binary before uploading it to the target
  • Interrupting issues
    • On slow targets, interrupt can take a long enough time that the user presses interrupt a second time, which can kill GDB
    • CDT should disable the interrupt button when an interrupt is pending.
    • This was in the context of setting breakpoints which require CDT to interrupt the target
    • GDB requires we interrupt the target to set breakpoints only on linux and only for native (not using gdbserver). We will try to get this improved in GDB to not have this restriction and allow CDT to be simpler
  • Need to improve extensibility of DSF-GDB services Bug 469763
    • Example of current situation:
DSF-GDB provides: 
  GDBRunControl_7_2_NS extends GDBRunControl_7_0_NS
someone specializes this by creating
  MyPrivateGDBRunControl extends GDBRunControl_7_2_NS
The day that CDT adds a new version like
  GDBRunControl_7_9_NS extends GDBRunControl_7_2_NS
the extending class MyPrivateGDBRunControl will not use GDBRunControl_7_9_NS
unless the developer notices this new version. Both Mikhail and William confirmed
they regularly have this issue.
We propose to insert an empty class that will always be at the top.
Something like
  GDBRunControl_NS_Head extends GDBRunControl_7_2_NS
Extenders would use
  MyPrivateGDBRunControl extends GDBRunControl_NS_Head
When CDT wants to introduce GDBRunControl_7_9_NS, we would do it like this:
  GDBRunControl_NS_Head extends GDBRunControl_7_9_NS extends GDBRunControl_7_2_NS
which will allow MyPrivateGDBRunControl to automatically inherit from the new version.
This change need not break the API and could be done easily anytime.
  • Watchpoint using GDB's -location flag Bug 469764
    • Currently setting watchpoints to say ptr->a will cause the watchpoint to follow the expression.
    • If the value of ptr changes, the watchpoint will hit
    • Often, the user wants to know if the original ptr->a changes
    • GDB offers this by using the 'watch -location' flag
    • CDT should offer access to that
    • Jonah has confirmed that to workaround this limitation he has to first find the address of ptr->a and use that hard coded address to set the wathpoint

May 12th, 2015

Attendees

  1. Andrew McLachlan (Analog Devices)
  2. Phil Mason (Broadcom)
  3. Alvaro Sanchez-Leon (Ericsson)
  4. Marc Dumais (Ericsson)
  5. Mikhail Khodjaiants (Mentor)
  6. William Riley (Renesas)
  7. Marc Khouzam (Ericsson)

Minutes

  • Mars release
    • 8.7 branch created. Bugs should be committed to both cdt_8_7 and master
  • Standalone debugger fails to launch with M6 Bug 467109
    • Marc K sees this on his machine. Alvaro to try on his machine to confirm
  • RCP Standalone debugger
    • Separate download to install
    • Easy to get working
    • Easy way to get users to use Eclipse without any setup
    • Patch under review
  • Docker contribution
    • Waiting for IP approval CORRECTION after meeting: IP Approval received. Contribution to Linux Tools done for M7. Contribution to CDT being updated for RC1
    • Plugins in LinuxTools to support Docker containers
    • Patch proposed for CDT to launch a binary inside a Docker container (similar to remote debugging)
    • Would be an optional feature of CDT
  • Register Grouping and Variable Objects for registers
    • Mikhail has continued work on this patch but has no time currently
    • Trying a new registers service with a second service on top to do the grouping
    • What are the registers listed that don't have names given by GDB?
    • We can fetch the values using -data-list-register-values and the index, but we don't have a name for the user
    • Without a name, it does not seem valuable for a user
    • Can't use varObj with this also, as it needs a name
  • RunControl Grouping
    • Marc K working on reviving Dobrin's grouping patch
    • Final goal is to support GDB's planned ITSet grouping feature
  • Showing Exited processes
  • Other
    • GDB has a format to pad hex output with 0s. This can be useful especially for registers
    • Should CDT use it? Should it be another optional format for the user to choose from?

March 17th, 2015

Attendees

  1. Andrew McLachlan (Analog Devices)
  2. Phil Mason (Broadcom)
  3. Alvaro Sanchez-Leon (Ericsson)
  4. Marc-Andre Laperle (Ericsson)
  5. Marc Dumais (Ericsson)
  6. Mikhail Khodjaiants (Mentor)
  7. Doug Schaefer (QNX)
  8. William Riley (Renesas)
  9. Marc Khouzam (Ericsson)

Minutes

  • Summary of CDT Summit/CDT Day/EclipseCon
    • Java 8
    • do we do it on master, it will break java 7, it should be done on the 9_0 branch
    • email to the list
  • cdt 9.0 for Mars+1 release (June 2016)
    • 9_0 branch where API breaking changes are allowed
  • Doug plans to split out native plugins into their own git repo and build them separately to provide them to others that should not depend on CDT
  • CDT 8.7 plans
    • Grouping feature to support
      • Marc K has started looking at this again, based on the work from TI
    • Memory view fixes/improvements
      • Alvaro working on this
    • VarObjects for Registers would be interesting.
      • Currently we assume every register is under a group, but it may not be the right thing to do
  • Enhancement bug written to LaunchBar allowing to handle multiple launches/launch group http://eclip.se/462372
    • Mikhail has a patch that removes some duplications in the debug view in the case of the launch group
  • Patches needing review
    • A couple of breakpoint patches from Mikhail
    • William submitted a patch for managed build, will email the list to get noticed

February 5th, 2015

Attendees

  1. Phil Mason (Broadcom)
  2. Alvaro Sanchez-Leon (Ericsson)
  3. Marc Dumais (Ericsson)
  4. Mikhail Khodjaiants (Mentor)
  5. Vladimir Prus (Mentor)
  6. Doug Schaefer (QNX)
  7. Jeff Johnston (RedHat)
  8. Marc Khouzam (Ericsson)

Minutes

  • CDT Summit/CDT Day
    • Planning continues. 10 attendees have signed up so far. Based on last year, we expect more though
  • CDT 8.6 release
    • Joint testing to be done
    • We hope to have it done by the end of this week
    • Everything is on track for the release
  • Next CDT release to be 8.7
    • Less than two months left until API freeze for Mars, and it does not seem anyone has plans or needs to break the API
    • Doug posted to the list to see if there was any concerns about that
  • CDT for Mars
    • work continues for o.e.remote
    • LaunchBar is being updated to follow o.e.remote new APIs
    • Autotools will need to be updated as well
    • Still planning on removing CDT's dependency to RSE for Mars (Remote Debug launch)
    • Connections should not be part of launch configuration as connections are user-specific. Instead using an OSGI service will be better.
  • FindBugs
    • Marc to post a patch to enable running FindBugs and PMD as a build profile.
    • We can have the nightly build use that profile and see if that proves valuable.
    • This will increase the build by about 20 minutes but provide valuable feedback
    • The verify job will not run FindBugs
  • Visual Studio support contribution
    • Guy B offered to contribute a Visual Studio integration to CDT
    • Sounds like it can be interesting to some.
    • Guy was asked to open a bug to discuss the contribution process

January 13th, 2015

Attendees

  1. Alvaro Sanchez-Leon (Ericsson)
  2. Marc Dumais (Ericsson)
  3. Mikhail Khodjaiants (Mentor)
  4. Doug Schaefer (QNX)
  5. Jeff Johnston (RedHat)
  6. William Riley (Renesas)
  7. Marc Khouzam (Ericsson)

Minutes

  • CDT Summit/CDT Day
    • CDT Summit wiki. Please sign up.
    • CDT Day planned. 7 talks on different topics related to CDT
  • CDT 8.6 anything missing?
    • Nothing major planned for the last week
  • Register grouping committed. https://wiki.eclipse.org/CDT/User/NewIn86#Register_grouping
    • VarObjects for Registers would be interesting.
    • If time allows, Mikhail may have a look again.
  • All Debug JUnit tests running on HIPP using all of GDB >= 7.1
  • Older GDB support
    • In some cases, probably with more recent GCCs, GDB 7.0 cannot step over printf (and maybe other issues)
    • We discussed and approved only supporting GDB 7.1 and higher
    • We won't remove the code supporting older GDBs but we won't work on making those work
    • We will announce in N&N and make it part of the 8.6 review record
  • SWTBot testing for Debug/CDT https://git.eclipse.org/r/#/c/35988/
    • Proof of concept that provides one test.
    • Marc K to review and commit very soon to get the infrastructure in
  • LaunchBar will be part of Mars
    • Doug will work on a CDT remote launch using o.e.remote
    • Doug got request to have a UI for multiple launches working with the launch bar
  • Launch UI
    • Mikhail has started work on it again

Older minutes of meeting

2014 Minutes of meetings
2013 Minutes of meetings
2012 Minutes of meetings
2011 Minutes of meetings
2010 Minutes of meetings

Back to the top