-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
...t.debug.gdbjtag.core/src/org/eclipse/cdt/debug/gdbjtag/core/jtagdevice/NXPLinkServer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2008, 2023 QNX Software Systems and others. | ||
* | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License 2.0 | ||
* which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* QNX Software Systems - Initial API and implementation | ||
* John Dallaway - NXP LinkServer extension (#496) | ||
*******************************************************************************/ | ||
package org.eclipse.cdt.debug.gdbjtag.core.jtagdevice; | ||
|
||
import java.util.Collection; | ||
|
||
/** | ||
* @since 10.8 | ||
*/ | ||
public class NXPLinkServer extends DefaultGDBJtagConnectionImpl { | ||
|
||
@Override | ||
public void doHalt(Collection<String> commands) { | ||
/* not supported */ | ||
} | ||
|
||
@Override | ||
public void doReset(Collection<String> commands) { | ||
doResetAndHalt(commands); | ||
doContinue(commands); | ||
} | ||
|
||
@Override | ||
public void doResetAndHalt(Collection<String> commands) { | ||
addCmd(commands, "monitor reset"); //$NON-NLS-1$ | ||
} | ||
|
||
} |