We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dce7b12 commit 74a637dCopy full SHA for 74a637d
pyocd/gdbserver/gdbserver.py
@@ -261,7 +261,10 @@ def _init_remote_commands(self):
261
"""! @brief Initialize the remote command processor infrastructure."""
262
# Create command execution context. The output stream will default to stdout
263
# but we'll change it to a fresh StringIO prior to running each command.
264
+ #
265
+ # Note we also modify the selected_core property so it is initially set to the gdbserver's core.
266
self._command_context = CommandExecutionContext()
267
+ self._command_context.selected_core = self.target
268
self._command_context.attach_session(self.session)
269
270
# Add the gdbserver command group.
0 commit comments