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/Obsolete/MultiCoreDebugWorkingGroup/calls/minutes"

(October 13th, 2015)
(41 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
= Multicore Debug Workgroup Minutes of Meetings =
 
= Multicore Debug Workgroup Minutes of Meetings =
  
== May 14th, 2013 ==
+
== October 13th, 2015 ==
  
 
=== Attendees ===
 
=== Attendees ===
  
# Phil Mason (Broadcom)
+
# Alvaro Sanchez-Leon (Ericsson)
 
# Marc Dumais (Ericsson)
 
# Marc Dumais (Ericsson)
# Marc-Andre Laperle (Ericsson)
+
# Tracy Miranda (Kichwa Coders)
 +
# Jonah Graham (Kichwa Coders)
 +
# Mikhail Khodjaiants (Mentor)
 +
# Doug Schaefer (QNX)
 +
# William Riley (Renesas)
 +
# 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 [https://bugs.eclipse/472765 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 ===
 +
 
 +
# Phil Mason (Broadcom)
 
# Alvaro Sanchez-Leon (Ericsson)
 
# Alvaro Sanchez-Leon (Ericsson)
 +
# Marc-Andre Laperle (Ericsson)
 +
# Marc Dumais (Ericsson)
 +
# Tracy Miranda (Kichwa Coders)
 +
# Jonah Graham (Kichwa Coders)
 
# Mikhail Khodjaiants (Mentor)
 
# Mikhail Khodjaiants (Mentor)
# Mark Goodchild (Renesas)  
+
# Doug Schaefer (QNX)
 +
# Jeff Johnston (RedHat)
 +
# William Riley (Renesas)
 
# Marc Khouzam (Ericsson)
 
# Marc Khouzam (Ericsson)
  
 
=== Minutes ===
 
=== Minutes ===
* Kepler release
 
** We should do a wiki page about testing for the release
 
* Step into Selection [https://bugs.eclipse.org/244865 Bug 244865]
 
** Need to try with scalability feature of CDT.
 
* Multicore Visualizer filtering
 
** Allows to limit amount of visible data
 
** Can be foundation for a pin & clone type of feature
 
* Dynamic-printf [https://bugs.eclipse.org/400628 Bug 400628]
 
** Pulled out of Kepler due to GDB bugs
 
* Enhanced Expressions enhancements
 
** Will look into those for Luna
 
* Advertising features
 
** Videos can be used to show how to use a feature
 
** Eclipse live demos. Do they still exist?
 
** Eclipse planet
 
  
== April 9th, 2013 ==
+
* 8.8 RC1 this Monday, August 17th, 2015.  No features after that until CDT 9.0/Neon
 +
* Grouping [http://eclip.se/336876 bug 336876]
 +
** Alvaro and Marc K are reviving Dobrin's work
 +
** Marc K will write proposed work to bug
 +
* 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.
  
Minutes of this meeting were lost.  Apologies for that.
+
== July 14th, 2015 ==
  
== March 12th, 2013 ==
+
=== Attendees ===
 +
 
 +
# Phil Mason (Broadcom)
 +
# Marc Dumais (Ericsson)
 +
# Tracy Miranda (Kichwa Coders)
 +
# Mikhail Khodjaiants (Mentor)
 +
# Doug Schaefer (QNX)
 +
# William Riley (Renesas)
 +
# Marc Khouzam (Ericsson)
 +
 
 +
=== Minutes ===
 +
 
 +
* 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
 +
 
 +
== June 9th, 2015 ==
  
 
=== Attendees ===
 
=== Attendees ===
Line 40: Line 144:
 
# Phil Mason (Broadcom)
 
# Phil Mason (Broadcom)
 
# Marc Dumais (Ericsson)
 
# Marc Dumais (Ericsson)
 +
# Jonah Graham (Kichwa Coders)
 +
# Mikhail Khodjaiants (Mentor)
 +
# Jeff Johnston (RedHat)
 +
# William Riley (Renesas)
 +
# 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 [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.
 +
 +
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 [http://eclip.se/469764 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 ===
 +
 +
# Andrew McLachlan (Analog Devices)
 +
# Phil Mason (Broadcom)
 
# Alvaro Sanchez-Leon (Ericsson)
 
# Alvaro Sanchez-Leon (Ericsson)
 +
# Marc Dumais (Ericsson)
 
# Mikhail Khodjaiants (Mentor)
 
# Mikhail Khodjaiants (Mentor)
# Vladimir Prus (Mentor)
+
# William Riley (Renesas)
# Abeer Bagul (Tensilica)
+
# Bill Swanson (Tilera)
+
# Pawel Piech
+
 
# Marc Khouzam (Ericsson)
 
# Marc Khouzam (Ericsson)
  
 
=== Minutes ===
 
=== Minutes ===
* EclipseCon and CDT Summit
 
** Please update Summit
 
* Planned for Kepler release
 
** StepIntoSelection [https://bugs.eclipse.org/244865 Bug 244865]
 
** Dynamic-printf [https://bugs.eclipse.org/400628 Bug 400628]
 
** Multicore Visualizer filtering of cores/CPUs to reduce amount of visible information
 
* Pin&Clone in platform [https://bugs.eclipse.org/145635 Bug 145635]
 
** No longer planned for Kepler
 
* Expression working sets [https://bugs.eclipse.org/372181 372181]
 
** Pawel re-factored patch
 
** After review there were many comments from platform that is delaying adoption
 
** People interested must answer comments to try to move this forward
 
** Can enhanced expressions be used for these use cases?
 
*** Abeer will follow-up on this with his product people.
 
*** Marc to look at Pawel's CDT fix for expression working sets to try it with Enhanced Expressions.  Persistence of the collapsed state should work with this patch.
 
* Step into Selection [https://bugs.eclipse.org/244865 Bug 244865]
 
** Alvaro is implementing this feature
 
** First version will deal with the most common and simplest cases
 
* Dynamic-printf [https://bugs.eclipse.org/400628 Bug 400628]
 
**  Support for "Add breakpoint..." command for dprintf.  First step is to support if for tracepoints [https://bugs.eclipse.org/376116 Bug 376116]
 
* Hardware breakpoints [https://bugs.eclipse.org/332993 Bug 332993]
 
** We mentioned we could use a breakpoint type for hardware breakpoint and temporary bp
 
** We could do the same for Tracepoints, but since tracepoints are a top-level breakpoint and not an attribute of a C/C++ breakpoint, this would need a lot of work.  Also, the property page for tracepoint is different because it has a passcount and no ignore count.
 
** How should dynamic printf be implemented?  As a top-level bp like tracepoints, or as an attribute of breakpoints?  For reference, WindRiver had their implementation use a top-level breakpoint.
 
** GDB has a setting to tell GDB to set a hardware breakpoint if it can and if not then set a software breakpoint.  This should be considered when dealing with hardware breakpoint support
 
  
== February 12, 2013 ==
+
* Mars release
 +
** 8.7 branch created.  Bugs should be committed to both cdt_8_7 and master
 +
* Standalone debugger fails to launch with M6 [http://eclip.se/467109 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
 +
* [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?
 +
 
 +
== March 17th, 2015 ==
  
 
=== Attendees ===
 
=== Attendees ===
  
 +
# Andrew McLachlan (Analog Devices)
 
# Phil Mason (Broadcom)
 
# Phil Mason (Broadcom)
 +
# Alvaro Sanchez-Leon (Ericsson)
 +
# Marc-Andre Laperle (Ericsson)
 
# Marc Dumais (Ericsson)
 
# Marc Dumais (Ericsson)
# Norman Yee (Analog Devices)
 
 
# Mikhail Khodjaiants (Mentor)
 
# Mikhail Khodjaiants (Mentor)
# Vladimir Prus (Mentor)
+
# Doug Schaefer (QNX)
# Abeer Bagul (Tensilica)
+
# William Riley (Renesas)
# Bill Swanson (Tilera)
+
# Pawel Piech
+
 
# Marc Khouzam (Ericsson)
 
# Marc Khouzam (Ericsson)
  
 
=== Minutes ===
 
=== Minutes ===
* A extra conference call will be scheduled February 19th to discuss features for the Multicore Visualizer.  All are welcomed to call in.  Info will be posted on the list.
+
* Summary of CDT Summit/CDT Day/EclipseCon
* Pin&Clone in platform [https://bugs.eclipse.org/145635 Bug 145635]
+
** Java 8
** Pawel will continue working on it
+
** do we do it on master, it will break java 7, it should be done on the 9_0 branch
** Plan is to make Pin&Clone a single action
+
** email to the list
** Would be nice if people gave feeback on the branch which has this new way of handling things
+
* cdt 9.0 for Mars+1 release (June 2016)
* Extend CDT launch to allow external profiling [https://bugs.eclipse.org/391608 Bug 391608]
+
** 9_0 branch where API breaking changes are allowed
** All changes will be made in Linux Tools project, no need to change CDT
+
* 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  
* CPU usage shown in Multicore Visualizer [https://bugs.eclipse.org/396268 Bug 396268]
+
* CDT 8.7 plans
* GDB Console synchronization
+
** Grouping feature to support
** Memory changes synched with CDT [https://bugs.eclipse.org/397715 Bug 397715]
+
*** Marc K has started looking at this again, based on the work from TI
** Reverse debugging enabled synched with CDT [https://bugs.eclipse.org/399163 Bug 399163]
+
** Memory view fixes/improvements
** Other new notifications planned such as: =traceframe-changed
+
*** Alvaro working on this
* Expression working sets [https://bugs.eclipse.org/372181 372181]
+
** VarObjects for Registers would be interesting.
** Pawel put Abeer's patch and put it on a branch with a bit of refactoring.
+
*** Currently we assume every register is under a group, but it may not be the right thing to do
** Pawel is playing around with automatic selection of working sets
+
* Enhancement bug written to LaunchBar allowing to handle multiple launches/launch group http://eclip.se/462372
** If Pawel does not have enough time to continue playing around with it he will commit the feature as Abeer implemented it
+
** Mikhail has a patch that removes some duplications in the debug view in the case of the launch group
** Automatic selection would be nice and Abeer is also looking into it
+
* Patches needing review
** Abeer will continue to work on it and post information on the bug
+
** A couple of breakpoint patches from Mikhail
* StepIntoSelection is being implemented for CDT [https://bugs.eclipse.org/244865 Bug 244865]
+
** William submitted a patch for managed build, will email the list to get noticed
* Marc K would like to try to add Dynamic printf to CDT
+
** Breakpoint types would be used to provide this
+
** The new bp type would be kept in DSF-GDB
+
* Hardware breakpoint contribution [https://bugs.eclipse.org/332993 Bug 332993]
+
** Mikhail is concerned that changing the breakpoint type to set a hardware bp is overkill
+
** Another option would be to add a "Toggle Hardware Breakpoint" command, although that is not ideal either
+
** We would like to provide this feature in CDT, and Mikhail might be able to post a patch
+
  
== January 15th, 2013 ==
+
== February 5th, 2015 ==
  
 
=== Attendees ===
 
=== Attendees ===
  
 
# Phil Mason (Broadcom)
 
# Phil Mason (Broadcom)
 +
# Alvaro Sanchez-Leon (Ericsson)
 
# Marc Dumais (Ericsson)
 
# Marc Dumais (Ericsson)
 
# Mikhail Khodjaiants (Mentor)
 
# Mikhail Khodjaiants (Mentor)
 
# Vladimir Prus (Mentor)
 
# Vladimir Prus (Mentor)
# Jeff Johnson (Red Hat)
+
# Doug Schaefer (QNX)
# Abeer Bagul (Tensilica)
+
# Jeff Johnston (RedHat)
# Bill Swanson (Tilera)
+
# Marc Khouzam (Ericsson)
# Pawel Piech (Windriver)
+
 
 +
=== 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)
 
# Marc Khouzam (Ericsson)
  
 
=== Minutes ===
 
=== Minutes ===
* Assembly view vs Disassembly view
+
* CDT Summit/CDT Day
** Want to show assembly with source code without the use of the Debugger
+
** CDT Summit wiki.  Please sign up.
** How does CDT get access to the assembly code
+
** CDT Day planned. 7 talks on different topics related to CDT
** A dummy debug session hidden from the user can be used to fill the disassembly view
+
* CDT 8.6 anything missing?
** Jeff will open bug
+
** Nothing major planned for the last week
* Pin&Clone in platform [https://bugs.eclipse.org/145635 Bug 145635]
+
* Register grouping committed. https://wiki.eclipse.org/CDT/User/NewIn86#Register_grouping
** Update for CDT to remove Pin&Clone buttons: [https://bugs.eclipse.org/398012 Bug 398012]
+
** VarObjects for Registers would be interesting.
** Terminate and restart should keep the Pin&Clone with this CDT patch
+
** If time allows, Mikhail may have a look again.
** Feature can be tested in a branch in the platform repo
+
* All Debug JUnit tests running on HIPP using all of GDB >= 7.1
** Would allow to use another 'agent' to provide info without a debugger
+
** Local tests all pass: https://hudson.eclipse.org/cdt/job/debug-tests-master-all-gdb-versions/
** Adds breadcrumb to the view when pinned
+
** Remote tests down to 7 failures: https://hudson.eclipse.org/cdt/job/debug-remote-tests-master-all-gdb-versions/
** No colors and no visual decorator in the Debug view, as CDT used to do
+
* Older GDB support
* Extend CDT launch to allow external profiling [https://bugs.eclipse.org/391608 Bug 391608]
+
** In some cases, probably with more recent GCCs, GDB 7.0 cannot step over printf (and maybe other issues)
** To see profiling buttons one must Customize Perspective and enable the "Profile" menu
+
** We discussed and approved only supporting GDB 7.1 and higher
** Profile configuration add a single Profile tab which give the user the possibility to choose between different available profile.
+
** We won't remove the code supporting older GDBs but we won't work on making those work
** Profile As... will now only show "Local C/C++ Application" and will default to the highest ranked available profiler
+
** We will announce in N&N and make it part of the 8.6 review record
** If no profiler is installed the profiling launch will show an error.
+
* SWTBot testing for Debug/CDT https://git.eclipse.org/r/#/c/35988/
* CPU usage shown in Multicore Visualizer [https://bugs.eclipse.org/396268 Bug 396268]
+
** Proof of concept that provides one test.
** Good progress, expect to push code next week
+
** Marc K to review and commit very soon to get the infrastructure in
* Expression working sets [https://bugs.eclipse.org/372181 372181]
+
* LaunchBar will be part of Mars
** Abeer will comment on bug
+
** Doug will work on a CDT remote launch using o.e.remote
** Pawel will look at it once Pin&clone is ok
+
** Doug got request to have a UI for multiple launches working with the launch bar
* GDB Console synchronization
+
* Launch UI
** Mikhail did the synchronization of breakpoints.  This needs GDB 7.4
+
** Mikhail has started work on it again
** GDB 7.6 will provide new MI notifications when data changes.
+
** Marc K has pushed a feature for review, which uses the new =memory-changed event [https://bugs.eclipse.org/397715 Bug 397715]
+
** Marc K plans on making use of other new notifications such as: =traceframe-changed, =record-started, =record-stopped
+
  
 
= Older minutes of meeting =
 
= Older minutes of meeting =
  
 +
[[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/2012 | 2012 Minutes of meetings]]<br>
 
[[CDT/MultiCoreDebugWorkingGroup/calls/minutes/2011 | 2011 Minutes of meetings]]<br>
 
[[CDT/MultiCoreDebugWorkingGroup/calls/minutes/2011 | 2011 Minutes of meetings]]<br>
 
[[CDT/MultiCoreDebugWorkingGroup/calls/minutes/2010 | 2010 Minutes of meetings]]<br>
 
[[CDT/MultiCoreDebugWorkingGroup/calls/minutes/2010 | 2010 Minutes of meetings]]<br>

Revision as of 12:45, 13 October 2015

Multicore Debug Workgroup Minutes of Meetings

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