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"

(Multicore Debug Workgroup Minutes of Meetings)
(Minutes)
(43 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
= Multicore Debug Workgroup Minutes of Meetings =
 
= Multicore Debug Workgroup Minutes of Meetings =
  
== November 20th, 2012 ==
+
== June 9th, 2015 ==
  
 
=== Attendees ===
 
=== Attendees ===
Line 7: Line 7:
 
# Phil Mason (Broadcom)
 
# Phil Mason (Broadcom)
 
# Marc Dumais (Ericsson)
 
# Marc Dumais (Ericsson)
 +
# Jonah Graham (Kichwa Coders)
 
# Mikhail Khodjaiants (Mentor)
 
# Mikhail Khodjaiants (Mentor)
# Vladimir Prus (Mentor)
+
# Jeff Johnston (RedHat)
# Abeer Bagul (Tensilica)
+
# William Riley (Renesas)
# Bill Swanson (Tilera)
+
# Pawel Piech (Windriver)
+
 
# Marc Khouzam (Ericsson)
 
# Marc Khouzam (Ericsson)
  
 
=== Minutes ===
 
=== Minutes ===
  
* Expression working sets [https://bugs.eclipse.org/372181 Bug 372181]
+
* Mars release
** Pawel will set aside some time to review but also to look into automatic selection of working sets based on active context
+
** 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.
  
* Breakpoint filtering [https://bugs.eclipse.org/360735 Bug 360735]
+
We propose to insert an empty class that will always be at the top.
** Feature has been merged in master
+
Something like
** Still need to reduce communication with GDB by using caching, but this depends on the "Support for GDB breakpoint notifications"
+
  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.
  
* Support for GDB breakpoint notifications [https://bugs.eclipse.org/392512 Bug 392512]
+
* Watchpoint using GDB's -location flag [http://eclip.se/469764 Bug 469764]
** Almost ready, working on JUnit tests
+
** Currently setting watchpoints to say ptr->a will cause the watchpoint to follow the expression.
** Do we handle the case of disconnecting tracing, upon re-connection?
+
** 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
  
* Enhanced expressions for both variables and registers [https://bugs.eclipse.org/394408 Bug 394408]
+
== May 12th, 2015 ==
** Prefix '=' will be used for user to indicate a pattern-matching expression.
+
** '=' will be required for registers to avoid breakpoint multiply operation e.g., $ea*2
+
** Marc is trying to support array index range e.g., =myArray[20-30]
+
** We already support $ea[2-3] to mean $ea2 and $ea3
+
 
+
* Multicore visualizer CPU usage
+
** Ericsson will be working on this
+
** Using /proc through GDB to provide that information
+
** Polling mechanism with user-configurable interval
+
** Can be turned off, probably from the view menu
+
 
+
* Pin&Clone in platform
+
** Pawel now has support for re-pin after a debug session is terminated and restarted
+
** Once available the CDT one will need to be turned off/removed
+
** Pin decorator will not be supported in platform but a breadcrum will show the context
+
** It could be possible to persist pin info between eclipse restarts
+
 
+
* Generic Launch shortcuts
+
** Mentor is working on an improved dialog for multi-process launching.  When ready, they expect to propose it to the community
+
 
+
* TCF debugger and breakpoints
+
** CDT breakpoint not sufficient
+
** They are trying hard to keep enhancements backwards compatible
+
 
+
== October 9th, 2012 ==
+
  
 
=== Attendees ===
 
=== Attendees ===
  
 +
# Andrew McLachlan (Analog Devices)
 
# Phil Mason (Broadcom)
 
# Phil Mason (Broadcom)
 +
# Alvaro Sanchez-Leon (Ericsson)
 +
# Marc Dumais (Ericsson)
 
# Mikhail Khodjaiants (Mentor)
 
# Mikhail Khodjaiants (Mentor)
# Eugene Ostroukhov (NVidia)
+
# William Riley (Renesas)
# Jeff Johnson (Red Hat)
+
# Jason Litton (Sage)
+
# Abeer Bagul (Tensilica)
+
# Bill Swanson (Tilera)
+
# Pawel Piech (Windriver)
+
 
# Marc Khouzam (Ericsson)
 
# Marc Khouzam (Ericsson)
  
 
=== Minutes ===
 
=== Minutes ===
  
* New "OS Resources" viewSee [http://wiki.eclipse.org/CDT/User/NewIn82#OS_Resources_View N&N]
+
* Mars release
** Linux only
+
** 8.7 branch createdBugs should be committed to both cdt_8_7 and master
** Done in a generic way in CDT, which means that if GDB supports it on Windows, or if new resoruces are added, it will automatically be shown in CDT.
+
* Standalone debugger fails to launch with M6 [http://eclip.se/467109 Bug 467109]
* Breakpoint filtering [https://bugs.eclipse.org/360735 Bug 360735]
+
** Marc K sees this on his machine.  Alvaro to try on his machine to confirm
** To reduce communication with GDB, should we not send breakpoints that are disabled?  This is how we used to do things, but for the filtering feature we changed this.  We felt it was more user-friendly to show disabled bp that were installable in GDB.
+
* RCP Standalone debugger
** This will need more thought and discussion
+
** Separate download to install
** Marc to do an update of the patch to improve caching
+
** Easy to get working
** Mikhail will review once update is posted
+
** Easy way to get users to use Eclipse without any setup
* Starting a new process on a remote target [https://bugs.eclipse.org/344890 Bug 344890]
+
** Patch under review
** Mikhail will continue to work on it when he has a bit more time
+
* Docker contribution
* Breakpoint synchronization
+
** Waiting for IP approval CORRECTION after meeting: IP Approval received. Contribution to Linux Tools done for M7. Contribution to CDT being updated for RC1
** Will allow to have breakpoint view in Eclipse show bps that are created manually in the gdb console
+
** Plugins in LinuxTools to support Docker containers
** Will allow to connect to a target that already has tracepoints and synchronize the breakpoints view in Eclipse with what is on the target
+
** Patch proposed for CDT to launch a binary inside a Docker container (similar to remote debugging)
* Expression working sets [https://bugs.eclipse.org/372181 Bug 372181]
+
** Would be an optional feature of CDT
** Platform patch posted and well received.  This is the bigger part of the necessary change for this feature.  Pawel and Abeer are working on it.
+
* Register Grouping and Variable Objects for registers
** Small change in DSF-GDB to extend the platform, once working-set support is available
+
** Mikhail has continued work on this patch but has no time currently
* Generic Launch shortcuts
+
** Trying a new registers service with a second service on top to do the grouping
** GDB now supports attaching to multiple processes '''and''' starting multiple new processes in the same session.  Our "local C/C++ application" and "Attach to C/C++ application" launches are starting to overlap.  Can we find a simpler way to handle this?
+
** What are the registers listed that don't have names given by GDB?
** What about two launch shortcuts: "Debug As -> Local C/C++ session" and "Debug As -> Remote C/C++ session".  The user would then start/attach to processes manually.
+
** We can fetch the values using -data-list-register-values and the index, but we don't have a name for the user
** Proposal to include "Profile As..." support into CDT which would re-direct work to Linux Tools.  See http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg25042.html. Jeff to open bugzilla about this enhancement
+
** Without a name, it does not seem valuable for a user
** Mentor is working on an improved dialog for multi-process launchingMaybe something they will propose to the community.
+
** 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 0sThis can be useful especially for registers
 +
** Should CDT use it?  Should it be another optional format for the user to choose from?
  
== September 11th, 2012 ==
+
== March 17th, 2015 ==
 
+
=== Attendees ===
+
 
+
# Phil Mason (Broadcom)
+
# Leo (Intel)
+
# Mark Goodchild (Renesas Electronics)
+
# Jason Litton (Sage)
+
# Patrick Chuong (TI)
+
# Pawel Piech (Windriver)
+
# Randy Rohrbach (Windriver)
+
# Marc Khouzam (Ericsson)
+
 
+
=== Minutes ===
+
 
+
* Per-target breakpoint in bp view, as proposed by TI at eclipseCon. See [http://wiki.eclipse.org/images/6/69/MultiCoreDebugEclipseCon11.pdf slide 17 of this presentation]
+
** Patrick described TI's feature for the breakpoint's view, as detailed below:
+
***New grouping category to have a core name as the root node, and relevant breakpoints as children
+
***New grouping category to have a 'generic' breakpoint as the root node, and the potentially multiple actualy breakpoints as children
+
****An in-line breakpoint will be shown as a group with each child being the breakpoint for one particular location.  In this case, new platform breakpoints must automatically be created to be shown in the different source files
+
****A breakpoint set in a file will be created on all cores.  In that case there will be a main entry for the breakpoint, and children under it for each of the cores it was installed on.  In this example, the children breakpoints are not platform breakpoints.
+
***Breakpoint properties are handled in a generic and dynamic way.  The backend provides information about which properties are available for a breakpoint, and those properties are displayed in a tree structure automatically
+
***The columns of the breakpoints view are driven by an XML file, and show the common properties of breakpoints (e.g., location, condition, count, action)
+
***The Properties view is used to show the entire hierarchy of breakpoint attributes using a tree representation. Updates to this view are propagated back to the backend
+
**Ericsson is interested in getting these features in open-source.  TI's work is done for their own breakpoint type and not CDT's breakpoint.  However, we should work together to align the UI and behavior.
+
**DSF already has some base classes to use the flexible-hierarchy for breakpoints view.  They can be used to start this work.
+
 
+
* Pin&Clone in platform [http://bugs.eclipse.org/145635 Bug 145635]
+
** Pawel would like to add Pin&Clone in platform and wants to unify it with the CDT implementation
+
** He would appreciate feedback on his proposal.  Marc and Patrick to try out the patch from [http://bugs.eclipse.org/145635 Bug 145635].  Others also welcomed to try.
+
** There would need to be an API to do Pin&Clone for a generic context provider
+
** Missing 'reselect after relaunch' feature provided by CDT's Pin&Clone
+
** Missing 'multiple selection pin' feature provided by CDT's Pin&Clone
+
 
+
Posponed to next month
+
* Generic Launch shortcuts
+
* Breakpoint filtering [https://bugs.eclipse.org/bugs/show_bug.cgi?id=360735 Bug 360735]
+
 
+
== July 10th, 2012 ==
+
  
 
=== Attendees ===
 
=== Attendees ===
  
 +
# Andrew McLachlan (Analog Devices)
 
# Phil Mason (Broadcom)
 
# Phil Mason (Broadcom)
 +
# Alvaro Sanchez-Leon (Ericsson)
 +
# Marc-Andre Laperle (Ericsson)
 +
# Marc Dumais (Ericsson)
 
# Mikhail Khodjaiants (Mentor)
 
# Mikhail Khodjaiants (Mentor)
# Jason Litton (Sage)
+
# Doug Schaefer (QNX)
# Abeer Bagul (Tensilica)
+
# William Riley (Renesas)
# Bill Swanson (Tilera)
+
 
# Marc Khouzam (Ericsson)
 
# Marc Khouzam (Ericsson)
  
 
=== Minutes ===
 
=== 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
  
'''General'''
+
== February 5th, 2015 ==
* Marc on vacation next meeting.  If someone can chair the meeting that would be great, if not, we'll have to cancel the August call.
+
 
+
'''Demo of Expressions view working sets'''
+
* Abeer gave a nice demo of the current status of the Expressions view working set (see [https://bugs.eclipse.org/372181 bug 372181]).
+
* Working sets can be created in the expressions view and associated to an instance of the view
+
* A user can then create a set of expressions for a core, and pin the view to that core; then she would use a cloned view to show a different set of expressions for another core.  That way, only expressions that make sense to the relevant core would be shown.
+
* Suggestion to display in the view what working set is active at the time.  We could use the view secondary id as is done by the Clone feature, or maybe it would be better to use the 'description' bar that is used by the Pin feature.
+
* Suggestion to 'link' working sets with a debug context.  That way, when the debug context changes, the expressions view would automatically change the active working set to match that debug context.  This would allow the expressions view to automatically display the expressions that can be evaluated for the debug context.
+
* Suggestion to use GDB's ability to evaluate an expression to decided if that expression should be displayed or not.  So, when a debug context is selected, all active expressions are sent to GDB; all expressions that return an error are deactivated for that debug context.  This is kind of building working sets automatically based on the validity of an expression.
+
* Abeer will push current solution to Gerrit to allow people to try it
+
 
+
'''Enhanced Expressions view'''
+
* [http://wiki.eclipse.org/CDT/EnhancedExpressionsProposed Enhancement] to allow to filter registers (see [http://bugs.eclipse.org/381754 bug 381754]).
+
* Marc has finished coding the feature.  The code is entirely independent of the rest of the Expressions service code, so it should be easy to maintain.  Marc will commit to master and see how things go.
+
* How to make the user aware of this feature?  Of course through the New&Noteworthy, but is there a 'live' way to tell the user the Expressions view accepts these matching patterns? 
+
* Suggestion to have a context-menu entry to show that this feature is available.
+
 
+
'''Register-grouping for DSF-GDB'''
+
* It would be nice to have in-view cell editing support like for the Expressions view.  That would make creating groups easy, and we could use the same solution as what is being done for the 'Enhanced Expressions view'.  The complexity of such a solution is unclear at this time.
+
* An easier solution is to mimic the CDI register-grouping solution.
+
* An enhancement to the CDI solution is to use in-view multi-selection to specify the content of a new register group.
+
* Marc will work on this solution in the short-term (see [http://bugs.eclipse.org/235747 bug 235747]).
+
 
+
'''Memory problems'''
+
* Memory views don't work with multi-process
+
* Are memory spaces of DSF the solution to that?
+
* Mikhail to create a bug for this problem
+
 
+
== June 12th, 2012 ==
+
  
 
=== Attendees ===
 
=== Attendees ===
  
# Norman Yee (Analog Devices)
 
 
# Phil Mason (Broadcom)
 
# Phil Mason (Broadcom)
 +
# Alvaro Sanchez-Leon (Ericsson)
 +
# Marc Dumais (Ericsson)
 
# Mikhail Khodjaiants (Mentor)
 
# Mikhail Khodjaiants (Mentor)
# Abid Hafiz (Mentor)
+
# Vladimir Prus (Mentor)
# Mark Goodchild (Renesas Electronics)
+
# Doug Schaefer (QNX)
# Abeer Bagul (Tensilica)
+
# Jeff Johnston (RedHat)
# Bill Swanson (Tilera)
+
 
# Marc Khouzam (Ericsson)
 
# Marc Khouzam (Ericsson)
  
 
=== Minutes ===
 
=== Minutes ===
 
+
* [https://wiki.eclipse.org/CDT/summitecon2015 CDT Summit/CDT Day]
'''General'''
+
** Planning continues10 attendees have signed up so far.  Based on last year, we expect more though
* Juno is a good release for Debug.  Most new features for CDT.
+
* CDT 8.6 release
 
+
** [https://wiki.eclipse.org/CDT/Manual_Testing Joint testing] to be done
'''Testing for Juno'''
+
** We hope to have it done by the end of this week
* Manual Linux testing was [http://wiki.eclipse.org/CDT/8.1_RC3_Testing done]
+
** Everything is on track for the release
* We need someone that will take care of Windows testingMikhail did try a small session on Windows and it was ok.
+
* Next CDT release to be 8.7
* JUnit test for Debug [https://bugs.eclipse.org/bugs/show_bug.cgi?id=378834 soon to be running] on Hudson at Eclipse.org.  Starting with GDB 7.4 only.
+
** 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
'''Enhanced Expressions view'''
+
* CDT for Mars
* [[CDT/EnhancedExpressions | Enhanced expressions view proposal]] to allow to filter registers (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=381754 bug 381754])
+
** work continues for o.e.remote
* Prototype available, Marc to focus to this feature next
+
** LaunchBar is being updated to follow o.e.remote new APIs
 
+
** Autotools will need to be updated as well
'''Breakpoint improvements'''
+
** Still planning on removing CDT's dependency to RSE for Mars (Remote Debug launch)
* Breakpoints are the weakest part of CDT
+
** Connections should not be part of launch configuration as connections are user-specific.  Instead using an OSGI service will be better.
* Improving the situation is of interest to Ericsson, Mentor, Tensilica, Renesas.
+
* FindBugs
* Need context-sensitive breakpoints. Mikhail had started this in [https://bugs.eclipse.org/bugs/show_bug.cgi?id=360735 bug 360735]
+
** Marc to post a patch to enable running FindBugs and PMD as a build profile.
* Suggestion to have an editable hover in the editor to select which threads/cores a breakpoint applies to
+
** We can have the nightly build use that profile and see if that proves valuable.
* Suggestion in having breakpoint view show an entry for each target a breakpoint can be applied to
+
** This will increase the build by about 20 minutes but provide valuable feedback
* We could add bp hit count to the bp view if we have a per-target breakpoint entry
+
** The verify job will not run FindBugs
* Complexity arises when looking at surrounding scenarios: before launching, multiple debug sessions, etc.  We should determine what the user-experience should be during a debugging session, and then somehow deal with all the surrounding scenarios.
+
* Visual Studio support contribution
* Would be nice to get people to focus on this effort and get some improvements done, as there is a lot of interest
+
** [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.
'''Visualizer'''
+
** Guy was asked to open a bug to discuss the contribution process
* What should be the next steps for the Visualizer/Multicore Visualizer?
+
== January 13th, 2015 ==
* What to choose for generic Visualizer and what for Multicore Visualizer
+
** Should try to make things generic when possible, without spending too much extra time on it
+
* Showing extra hardware.  What kind of hardware should we support?  Need concrete examples
+
 
+
'''OS Awareness'''
+
* [https://bugs.eclipse.org/360314 OS Awareness bug 360314]
+
* GDB support available in HEAD, with one more tweak expected.
+
* Review comments posted on Gerrit.  Vladimir updating contribution to match comments.
+
* Updated contribution is expected to make use of DSF services instead of sending commands from the view code to GDB
+
 
+
== May 8th, 2012 ==
+
  
 
=== Attendees ===
 
=== Attendees ===
  
# Phil Mason (Broadcom)
+
# Alvaro Sanchez-Leon (Ericsson)
 +
# Marc Dumais (Ericsson)
 
# Mikhail Khodjaiants (Mentor)
 
# Mikhail Khodjaiants (Mentor)
# Jason Litton (Sage)
+
# Doug Schaefer (QNX)
# Bill Swanson (Tilera)
+
# Jeff Johnston (RedHat)
 +
# William Riley (Renesas)
 
# Marc Khouzam (Ericsson)
 
# Marc Khouzam (Ericsson)
  
 
=== Minutes ===
 
=== Minutes ===
 
+
* CDT Summit/CDT Day
'''General'''
+
** CDT Summit wiki.  Please sign up.
* Feature freeze has come and gone.
+
** CDT Day planned. 7 talks on different topics related to CDT
* Deadline for bug fixes for Juno is June 15th.
+
* CDT 8.6 anything missing?
* We have a good list of [http://wiki.eclipse.org/CDT/User/NewIn81#Debug new features] that apply to multicore in Juno:
+
** Nothing major planned for the last week
** Multicore Visualizer View
+
* Register grouping committed. https://wiki.eclipse.org/CDT/User/NewIn86#Register_grouping
** Edit Breakpoint on Create
+
** VarObjects for Registers would be interesting.
** Timeout support for GDB commands
+
** If time allows, Mikhail may have a look again.
** Multi-select Resume/Suspend operations
+
* All Debug JUnit tests running on HIPP using all of GDB >= 7.1
** Show only suspended threads in Debug view
+
** Local tests all pass: https://hudson.eclipse.org/cdt/job/debug-tests-master-all-gdb-versions/
* Work continues for Kepler
+
** Remote tests down to 7 failures: https://hudson.eclipse.org/cdt/job/debug-remote-tests-master-all-gdb-versions/
 
+
* Older GDB support
'''Testing for Juno'''
+
** In some cases, probably with more recent GCCs, GDB 7.0 cannot step over printf (and maybe other issues)
* It would be good for people to tests Juno. Focus from this group would be the new Debug features added to Juno
+
** We discussed and approved only supporting GDB 7.1 and higher
* Bill will look at testing the Multicore Visualizer by end of May
+
** We won't remove the code supporting older GDBs but we won't work on making those work
* Sage uses CDT on Windows.  Jason will run some tests for the Juno release on Windows.
+
** We will announce in N&N and make it part of the 8.6 review record
* Jason will try to to get the Debug JUnit tests to work on Windows again.
+
* SWTBot testing for Debug/CDT https://git.eclipse.org/r/#/c/35988/
* Mikhail has access to a Windows machine but needs to get it properly setup.
+
** Proof of concept that provides one test.
* Marc will do testing on Linux and will focus on the new features of Debug
+
** Marc K to review and commit very soon to get the infrastructure in
 
+
* LaunchBar will be part of Mars
'''Proposed features'''
+
** Doug will work on a CDT remote launch using o.e.remote
* Marc posted a list of ideas for multicore-debugging on the wiki [http://wiki.eclipse.org/CDT/MultiCoreDebugWorkingGroup/PotentialFeatures#General_enhancements_proposed_for_Multicore_Debugging here]
+
** Doug got request to have a UI for multiple launches working with the launch bar
* Mentor discussing making improvement to breakpoints, which could be in-line with proposal above
+
* Launch UI
 
+
** Mikhail has started work on it again
'''OS Awareness'''
+
* New patch posted by Vladimir. Too late for Juno but Marc will try to get it in early for Kepler.  Still dependent on GDB functionality that is not in open-source yet, so we'll need that resolved.
+
* [https://bugs.eclipse.org/360314 OS Awareness bug 360314]
+
 
+
 
+
== April 10th, 2012 ==
+
 
+
=== Attendees ===
+
 
+
# Phil Mason (Broadcom)
+
# Mikhail Khodjaiants (Mentor)
+
# Jason Litton (Sage)
+
# Bill Swanson (Tilera)
+
# Marc Khouzam (Ericsson)
+
 
+
=== Minutes ===
+
''' Things for Juno'''
+
 
+
* Marc was planning on working on Multiple selection https://bugs.eclipse.org/bugs/show_bug.cgi?id=330974
+
** Mikhail mentioned that the Selection policy may be a problem
+
** Platform may require changes for selection policy
+
** Already some selection policy problems are being seen
+
** A good selection policy is important for usability, so it is important for the multi-selection feature
+
 
+
* Debug testing for 4.2 ongoing.
+
** Things look good for Tracepoints and Pin&Clon (which were broken with earlier builds of 4.2)
+
** Reverse debugging buttons don't work properly with 4.2.  Marc will report problems
+
 
+
* Jason will not be able to work on multicore at this time because Sage needs all-stop for multicore debug, but CDT is more focused on non-stop.o
+
** Trying to get all-stop to work nicely with multicore may be something Sage can look at
+
 
+
''' Things post-Juno (Kepler) '''
+
 
+
* Marc's current plans is to focus on adding features to the multicore visualizer
+
 
+
''' Architecture-specific visualization'''
+
* It was suggested that visualizations that are specific to different architectures (e.g., Tilera) could still be added to CDT.
+
** We can imagine having visualizations for many different architectures (Tilera, TI, Intel, etc)
+
** This would allow users that have multiple different architectures without need to change their tool for each one
+
** Visualization is not the only factor however; connection with the backend (e.g., using GDB) may not be the same as what is in CDT.
+
 
+
== March 13th, 2012 ==
+
 
+
=== Attendees ===
+
 
+
# Norman Yee (Analog Devices)
+
# Phil Mason (Broadcom)
+
# Mikhail Khodjaiants (Mentor)
+
# Bill Swanson (Tilera)
+
# Marc Khouzam (Ericsson)
+
 
+
=== Minutes ===
+
 
+
'''Visualizer view '''
+
* Visualizer examples plugin was added to CDT with two examples
+
** Problems Visualizer
+
** SourceGraph Visualizer
+
* The examples show different ways on how to extend the Visualizer framework.
+
 
+
'''Enhanced breakpoints'''
+
* We see that Pawel is making good progress
+
 
+
'''Expressions view additions'''
+
* Pawel posted some comments/suggestions to the bug
+
 
+
'''Grouping'''
+
* Interest from Mentor, but nothing planned for the moment
+
 
+
== February 14th, 2012 ==
+
 
+
=== Attendees ===
+
 
+
# Phil Mason (Broadcom)
+
# Eugene Ostroukhov (Nvidia)
+
# Bruce Griffith (Sage)
+
# Abeer Bagul (Tensilica)
+
# Bill Swanson (Tilera)
+
# Randy Rohrbach (Windriver)
+
# Marc Khouzam (Ericsson)
+
 
+
=== Minutes ===
+
 
+
'''General'''
+
* Why not much focus on multi-vendor debug solution so that plugins from one vendor be used into another CDT installation?
+
** Probably not an interesting business case for vendors
+
** For others, they need to change the platform, so they can't work on someone else's IDE
+
* Marc will make time to review some contributions that are pending.  Anyone else?
+
 
+
'''Visualizer view progress'''
+
* [http://bugs.eclipse.org/335027 Bug 335027]
+
* Feature has been contributed!
+
* Bill nominated as committer.
+
* New&Noteworthy http://wiki.eclipse.org/CDT/User/NewIn90#Multicore_Visualizer_View
+
* Multi-select feature would be very useful
+
 
+
'''Enhanced breakpoints'''
+
* Pawel and Randy are working on this. Progress going well both in Platform and CDT
+
* Ability to create a breakpoint and specify its attributes at creation time
+
* Allowing to add more complex preferences to breakpoints
+
* Must verify how Tracepoints will be impacted
+
 
+
'''Expressions view additions'''
+
* Contribution bug will be posted soon
+
 
+
'''Grouping'''
+
* No update
+
 
+
== January 17th, 2012 ==
+
 
+
=== Attendees ===
+
 
+
# Norman Yee (Analog Devices)
+
# Phil Mason (Broadcom)
+
# Eugene Ostroukhov (Nvidia)
+
# Pete Macliesh (Tensilica)
+
# Abeer Bagul (Tensilica)
+
# Bill Swanson (Tilera)
+
# Doug Schaefer (Windriver)
+
# Marc Khouzam (Ericsson)
+
 
+
=== Minutes ===
+
 
+
'''Visualizer view progress'''
+
* [http://bugs.eclipse.org/335027 Bug 335027]
+
* More feature have been added: selection, synchronization with Debug View, toolbar, context menu
+
* Marc finishing some proposed refactoring before contribution is started
+
* CQ should be opened this week to contribute.  Will go into master branch as an optional feature.
+
* Demo was given.  Very cool!
+
* Wasted space in visualizer view.  Can CPUs 'hug' Cores to avoid that waste?  Cores should stay square.
+
* Need multi-selection run-control for visualizer [http://bugs.eclipse.org/330974 Bug 330974].  Marc will contact Dobrin to see if any progress was made.
+
* This could apply to target management to show what is running on the target.  Would this be a second visualizer view for TM or a different visualizer in the same view?  This brings up the nice applicability of Pin&Clone.
+
* Pin and clone would apply well to visualizer
+
* How do we show process info in visualizer?
+
** Process on cores don't really matter, what matters is what threads belong to the same process
+
** brightness can be used to show all threads in the same process as the one selected
+
 
+
'''Expressions view additions'''
+
* Enhancement to allow the expressions view to use Working Sets.  The idea is to use Pin&Clone and Working sets to show only the expressions for a specific core (i.e. context)
+
* Demo
+
** Nice demo showing how working groups and pin&clone can be used to show a subset of expressions and pin them to a core
+
** Working groups have been added to DSF and allow to filter the expressions view
+
** Wizard was also added to create working groups and to easily pin them.
+
* Abeer will open a bugzilla to contribute this feature to CDT.
+
  
 
= 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/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 14:19, 9 June 2015

Multicore Debug Workgroup Minutes of Meetings

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