Fixed another regression in the AVR8 target driver
Breakpoints were being cleared after the OCDEN fuse bit had been cleared.
This commit is contained in:
@@ -255,8 +255,6 @@ namespace DebugToolDrivers::Microchip::Protocols::Edbg::Avr
|
|||||||
|
|
||||||
void EdbgAvr8Interface::deactivate() {
|
void EdbgAvr8Interface::deactivate() {
|
||||||
if (this->targetAttached) {
|
if (this->targetAttached) {
|
||||||
this->clearAllBreakpoints();
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
this->session.targetConfig.physicalInterface == TargetPhysicalInterface::DEBUG_WIRE
|
this->session.targetConfig.physicalInterface == TargetPhysicalInterface::DEBUG_WIRE
|
||||||
&& this->session.targetConfig.disableDebugWireOnDeactivate
|
&& this->session.targetConfig.disableDebugWireOnDeactivate
|
||||||
|
|||||||
@@ -236,6 +236,7 @@ namespace Targets::Microchip::Avr8
|
|||||||
}
|
}
|
||||||
|
|
||||||
this->stop();
|
this->stop();
|
||||||
|
this->avr8DebugInterface->clearAllBreakpoints();
|
||||||
|
|
||||||
if (
|
if (
|
||||||
this->targetConfig.physicalInterface == TargetPhysicalInterface::JTAG
|
this->targetConfig.physicalInterface == TargetPhysicalInterface::JTAG
|
||||||
|
|||||||
Reference in New Issue
Block a user