Community
Participate
Working Groups
The new event "memory-changed" introduced from GDB 7.6 may is not handled properly in the implementation for DSF-GDB. The current code divides the length by 8 and adds 1 to resolve the number of addresses. For system with addressable size of 1 octet this would not work for lengths greater than one. In the other hand the event is expected to be received with the number of addressable units affected, so there is no need to make an adjustment.
Fix was posted here: https://git.eclipse.org/r/#/c/22573/ Thanks for the fixed Alvaro, I've committed to master. I've also committed a fix to improve the tests so they could detect this bug. This new version fails before the fix and passes after it. http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=0b2adb52230d9a60b424c70ad01294019be1067d