Index: MIPlugin.java =================================================================== RCS file: /home/tools/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/MIPlugin.java,v retrieving revision 1.65 diff -u -r1.65 MIPlugin.java --- MIPlugin.java 17 Nov 2004 03:24:14 -0000 1.65 +++ MIPlugin.java 18 Nov 2004 07:52:49 -0000 @@ -194,7 +194,10 @@ // Try to detect if we have been attach via "target remote localhost:port" // and set the state to be suspended. try { - CLICommand cmd = new CLICommand("info remote-process"); //$NON-NLS-1$ + // In lieu of a specific query to find out the state of the target + // we assume that we are in the suspended state if "info registers" + // succeeds + CLICommand cmd = new CLICommand("info registers"); //$NON-NLS-1$ session.postCommand(cmd); MIInfo info = cmd.getMIInfo(); if (info == null) {