/*!  Handler for Reset Target menu item
 *
 */
void GdbServerWindow::OnHaltTarget(wxCommandEvent& event) {
   USBDM_TargetHalt();
   statusTextControl->AppendText(_("User halt of target - step GDB to synchronise\n"));
}
//! Brings the target into active background mode.  The target will be halted.
//!
//! @return 0 => Success,\n !=0 => Fail
//!
TBDML_API unsigned char _tbdml_target_halt(void) {

   return USBDM_TargetHalt();
}
//! Brings the target into active background mode.  The target will be halted.
//!
//! @return 0 => Success,\n !=0 => Fail
//!
OSBDM_API unsigned char _opensourcebdm_target_halt(void) {

   return USBDM_TargetHalt();
}