Jump to: navigation, search

CDT/MultiCoreDebugWorkingGroup/calls/minutes

Multicore Debug Workgroup Minutes of Meetings

January 12th, 2016

Attendees

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

Minutes

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

December 1st, 2015

Attendees

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

Minutes

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

October 13th, 2015

Attendees

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

Minutes

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

August 11th, 2015

Attendees

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

Minutes

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

July 14th, 2015

Attendees

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

Minutes

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

June 9th, 2015

Attendees

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

Minutes

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

May 12th, 2015

Attendees

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

Minutes

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

March 17th, 2015

Attendees

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

Minutes

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

February 5th, 2015

Attendees

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

Minutes

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

January 13th, 2015

Attendees

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

Minutes

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

Older minutes of meeting

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