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"

(23 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
= Multicore Debug Workgroup Minutes of Meetings =
 
= Multicore Debug Workgroup Minutes of Meetings =
  
== April 8th, 2014 ==
+
== August 11th, 2015 ==
  
 
=== Attendees ===
 
=== Attendees ===
Line 7: Line 7:
 
# Phil Mason (Broadcom)
 
# Phil Mason (Broadcom)
 
# Alvaro Sanchez-Leon (Ericsson)
 
# Alvaro Sanchez-Leon (Ericsson)
 +
# Marc-Andre Laperle (Ericsson)
 
# Marc Dumais (Ericsson)
 
# Marc Dumais (Ericsson)
 +
# Tracy Miranda (Kichwa Coders)
 +
# Jonah Graham (Kichwa Coders)
 
# Mikhail Khodjaiants (Mentor)
 
# Mikhail Khodjaiants (Mentor)
# Vladimir Prus (Mentor)
 
 
# Doug Schaefer (QNX)
 
# Doug Schaefer (QNX)
 +
# Jeff Johnston (RedHat)
 +
# William Riley (Renesas)
 
# Marc Khouzam (Ericsson)
 
# Marc Khouzam (Ericsson)
  
 
=== Minutes ===
 
=== Minutes ===
* One week before CDT Summit/EclipseCon
 
* Luna release
 
** May 9th.  Only 4 weeks to go.
 
* Ongoing work
 
** New Launch UI
 
*** Progress slowed down a bit now due to other work. 
 
*** Too tight for Luna.  Aiming to have it available soon and have a longer soak time towards the release after Luna, in September
 
** Dynamic printf [http://eclip.se/400628 Bug 400628]
 
*** Dependency on new breakpoint handling by GDB, which will be ready this week
 
*** New context-menu action "Add dynamic-printf..." to be added
 
*** New patch for dynamic-printf should be posted next week.
 
** Register grouping [http://eclip.se/235747 Bug 235747]
 
*** Long delay due to other work, but very close
 
*** If review goes well, could make it for Luna
 
** Stand-alone debugger
 
*** No update
 
  
== March 11th, 2014 ==
+
* 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.
 +
 
 +
== July 14th, 2015 ==
 +
 
 +
=== 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 ===
 +
 
 +
# Phil Mason (Broadcom)
 +
# 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 ===
 
=== Attendees ===
  
 +
# Andrew McLachlan (Analog Devices)
 
# Phil Mason (Broadcom)
 
# Phil Mason (Broadcom)
 
# Alvaro Sanchez-Leon (Ericsson)
 
# Alvaro Sanchez-Leon (Ericsson)
Line 42: Line 168:
 
# Marc Khouzam (Ericsson)
 
# Marc Khouzam (Ericsson)
  
=== Minutes ===  
+
=== Minutes ===
* One week before CDT Summit/EclipseCon
+
** On track for a good summit.
+
* Luna release
+
** Must look at what can be included in this release.
+
** Dynamic-printf is planned for Luna [http://eclip.se/400628 Bug 400628]
+
* Ongoing work
+
** New Launch UI
+
*** No updated.  Vladimir has taken over from Mikhail.
+
** Setting Hardware Breakpoint from the UI [http://eclip.se/332993 Bug 332993]
+
*** Ability to set hardware and temporary breakpoints done.
+
*** No update on possible use of breakpoint type
+
** Dynamic printf [http://eclip.se/400628 Bug 400628]
+
*** Rebased to use the fix for multi-process breakpoints but delayed due to EclipseCon work
+
** Multicore Visualizer with [http://www.parallella.org Parallella]
+
*** CDT state quite good but some features still being worked on for the GDBServer of the Parallella
+
  
== February 11th, 2014 ==
+
* 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)
 +
# Alvaro Sanchez-Leon (Ericsson)
 +
# Marc-Andre Laperle (Ericsson)
 
# Marc Dumais (Ericsson)
 
# Marc Dumais (Ericsson)
# Teodor Madan (Freescale)
 
 
# Mikhail Khodjaiants (Mentor)
 
# Mikhail Khodjaiants (Mentor)
 
# Doug Schaefer (QNX)
 
# Doug Schaefer (QNX)
# Jeff Johnston (RedHat)
 
 
# William Riley (Renesas)
 
# William Riley (Renesas)
 
# Marc Khouzam (Ericsson)
 
# Marc Khouzam (Ericsson)
  
 
=== Minutes ===
 
=== Minutes ===
*CDT Summit/EclipseCon  
+
* Summary of CDT Summit/CDT Day/EclipseCon
* Ongoing work
+
** Java 8
** New Launch UI
+
** do we do it on master, it will break java 7, it should be done on the 9_0 branch
*** Working solution available!
+
** email to the list
*** Ready to discuss some implementation detail
+
* cdt 9.0 for Mars+1 release (June 2016)
*** Specific to CDT at the moment but could be generalized
+
** 9_0 branch where API breaking changes are allowed
*** Main advantage is the support for multi-process
+
* 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
** Trace Control Enhancements [https://bugs.eclipse.org/390827 Bug 390827]
+
* CDT 8.7 plans
*** Feature committed! See [https://wiki.eclipse.org/CDT/User/NewIn84#Trace_Control_view_enhancements New and Noteworthy] for details.
+
** Grouping feature to support
*** It would be nice to move some of the new widgets to a common area such as o.e.cdt.debug.ui
+
*** Marc K has started looking at this again, based on the work from TI
*** Was not tested on Windows.  If someone can try it and report, that would be useful
+
** Memory view fixes/improvements
** Setting Hardware Breakpoint from the UI [http://eclip.se/332993 Bug 332993]
+
*** Alvaro working on this
*** new bug opened to allow to change bp type at creation or after (based on Mikhail's work) [http://eclip.se/427898 Bug 427898]
+
** VarObjects for Registers would be interesting.
*** patch posted in bugzilla but will be posted to Gerrit
+
*** Currently we assume every register is under a group, but it may not be the right thing to do
*** do we need the first proposal too?  It's value is to set a default type.  Let's focus on first contribution and then discuss the original one.
+
* Enhancement bug written to LaunchBar allowing to handle multiple launches/launch group http://eclip.se/462372
** Show values returned from function calls [http://eclip.se/341731 Bug 341731]
+
** Mikhail has a patch that removes some duplications in the debug view in the case of the launch group
*** Reviewed by Marc-Andre and updated accordingly
+
* Patches needing review
** Dynamic Printf [https://eclip.se/400268 Bug 400268]
+
** A couple of breakpoint patches from Mikhail
*** Planned for Luna.
+
** William submitted a patch for managed build, will email the list to get noticed
*** GDB 7.7 much more stable.  Still some issue but not blocking
+
*** Will be demoed at CDT Summit
+
*** Patch is large but mostly a copy of Tracepoints.  Important changes are much smaller.
+
** Multicore Visualizer with Parallella
+
*** gdb stub for Parallella is being updated to provide CDT with the necessary information
+
*** Will be demoed at EclipseCon
+
** Stand-alone CDT debugger
+
*** Customize perspective support added (needed for Reverse Debug and Tracepoints)
+
*** Documentation has been updated
+
*** Will be demoed at CDT Summit
+
*** Was presented to GDB community and was well received, with more comments expected
+
  
== January 14th, 2014 ==
+
== February 5th, 2015 ==
  
 
=== Attendees ===
 
=== Attendees ===
Line 109: Line 240:
 
# Phil Mason (Broadcom)
 
# Phil Mason (Broadcom)
 
# Alvaro Sanchez-Leon (Ericsson)
 
# Alvaro Sanchez-Leon (Ericsson)
# Andreas From (Ericsson)
 
 
# Marc Dumais (Ericsson)
 
# Marc Dumais (Ericsson)
# Simon Marchi (Ericsson)
 
# Xavier Raynaud (Kalray)
 
 
# Mikhail Khodjaiants (Mentor)
 
# Mikhail Khodjaiants (Mentor)
 +
# Vladimir Prus (Mentor)
 +
# Doug Schaefer (QNX)
 
# Jeff Johnston (RedHat)
 
# Jeff Johnston (RedHat)
# William Riley (Renesas)
 
# Bill Swanson (Tilera)
 
 
# Marc Khouzam (Ericsson)
 
# Marc Khouzam (Ericsson)
  
 
=== Minutes ===
 
=== Minutes ===
*CDT Summit/EclipseCon
+
* [https://wiki.eclipse.org/CDT/summitecon2015 CDT Summit/CDT Day]
** Marc K to send an email to list to remind people so that others can make plan
+
** 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 ==
  
* Ongoing work
+
=== Attendees ===
** New Launch UI
+
 
*** Progress continues
+
# Alvaro Sanchez-Leon (Ericsson)
*** Single new launch config type allowing to start multiple processes togetherIt supports both starting a new process and attaching to one. It supports both local and remote
+
# Marc Dumais (Ericsson)
*** Difficulty in supporting older GDB versions. Currently based on 7.2 and higher
+
# Mikhail Khodjaiants (Mentor)
*** Issue with short lived processes that don't appear in the view
+
# Doug Schaefer (QNX)
*** When to use 'remote' or 'extended-remote'
+
# Jeff Johnston (RedHat)
** Environment Variables for Remote launch [https://bugs.eclipse.org/424436 Bug 424436]
+
# William Riley (Renesas)
*** Will allow to specify env vars when launching a remote application
+
# Marc Khouzam (Ericsson)
*** Some limitations due to TM/RSE that we will have to deal with
+
 
** Trace Control Enhancements [https://bugs.eclipse.org/390827 Bug 390827]
+
=== Minutes ===
*** Review on-going. Meeting will held Jan 14th to discuss comments of review. Contact Marc Khouzam to join.
+
* CDT Summit/CDT Day
** Show values returned from function calls [https://bugs.eclipse.org/341731 Bug 341731]
+
** CDT Summit wikiPlease sign up.
** Mutlicore Visualizer with Parallella
+
** CDT Day planned. 7 talks on different topics related to CDT
*** New plugin extending multicore visualizer
+
* CDT 8.6 anything missing?
*** both canvas and model have been updated for the Parallella
+
** Nothing major planned for the last week
** Multi-process memory views [https://eclip.se/250323 Bug 250323]
+
* Register grouping committed. https://wiki.eclipse.org/CDT/User/NewIn86#Register_grouping
*** Patch accepted, will be committed today
+
** VarObjects for Registers would be interesting.
** Dynamic Printf [https://eclip.se/400268 Bug 400268]
+
** If time allows, Mikhail may have a look again.
** Stand-alone CDT debugger
+
* All Debug JUnit tests running on HIPP using all of GDB >= 7.1
*** Marc K has tried it out.  Looks great but a couple of comments communicated to Jeff
+
**  Local tests all pass: https://hudson.eclipse.org/cdt/job/debug-tests-master-all-gdb-versions/
*** Start script will be simplified
+
**  Remote tests down to 7 failures: https://hudson.eclipse.org/cdt/job/debug-remote-tests-master-all-gdb-versions/
*** "Customize perspective..." menu will be added
+
* Older GDB support
*** Will be shown at the CDT Summit
+
** In some cases, probably with more recent GCCs, GDB 7.0 cannot step over printf (and maybe other issues)
*** Some flags will be added to the command-line to specify launch option
+
** We discussed and approved only supporting GDB 7.1 and higher
*** No need to create a project or a launch config.
+
** We won't remove the code supporting older GDBs but we won't work on making those work
*** Should we still show the launch config stuff?  Yes, but most won't even look at it.
+
** We will announce in N&N and make it part of the 8.6 review record
*** Improvement over Insight (amongst others) of supporting the indexer through a build log
+
* SWTBot testing for Debug/CDT https://git.eclipse.org/r/#/c/35988/
*** Planned for Luna
+
** Proof of concept that provides one test.
*** Need to discuss with Doug about how to make this available
+
** 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 =
 
= 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/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 13:16, 11 August 2015

Multicore Debug Workgroup Minutes of Meetings

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