This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
return;
}
tentativeGdb.setExecutor(executor);
tentativeGdb.setPid(pid);
tentativeGdb.myMIProxy.logInfo();
* Interrupt the program (note that unlike almost every other debugging
* action, we're NOT asking dbx to do it - this we're actually doing
* ourselves!!
*
* On embedded targets SIGINT must be sent to GDB, not the target process
*/
private int gdbpid;
void setPid(int pid) {
gdbpid = pid;
int getPid() {
return gdbpid;
boolean pause(int pid, boolean silentStop, boolean interruptGdb) {
// The following predicate is _not_ the same as isReceptive()
if (debugger.state().isRunning && debugger.state().isProcess) {
String remoteTarget = gdi.getTargetCommand();
if (remoteTarget != null) {
cmdString = "target " + remoteTarget; //NOI18N
targetAttach = true;
// Leave this as false because to interrupt a gdbserver session
// you must send a SIGINT to the host side gdb session
//targetAttach = true;
} else {
pid = gdi.getPid();
// MI command "-target-attach pid | file" does not available in
state().isProcess = true;
stateChanged();
session().setSessionState(state());
long pid = getNDI().getPid();
long pid = gdb.getPid();
if (pid != -1) {
session().setPid(pid);