Insight makes a difference between hitting Ctrl-C (that triggers
target::pass_ctrlc) and clicking the GUI stop button, triggering
target::stop).
As windows_nat did not implement the stop method, the GUI stop button
was inoperant on Windows.
interrupt ();
}
+void
+windows_nat_target::stop (ptid_t ptid)
+{
+ interrupt ();
+}
+
/* Get the next event from the child. Returns the thread ptid. */
ptid_t
void interrupt () override;
void pass_ctrlc () override;
+ void stop (ptid_t ptid) override;
const char *pid_to_exec_file (int pid) override;