Jump to: navigation, search

CDT/MultiCoreDebugWorkingGroup/calls/minutes

Multicore Debug Workgroup Minutes of Meetings

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