Skip to content

Commit 4283c4a

Browse files
authored
Support auxiliary GDB connections to allow selected operations while CPU running (#181)
* Add `auxiliaryGdb` option to `gdbtarget` type. Add docs for `auxiliaryGdb` option. Signed-off-by: Jens Reinecke <[email protected]> * changelog Signed-off-by: Jens Reinecke <[email protected]> --------- Signed-off-by: Jens Reinecke <[email protected]>
1 parent 4e516d1 commit 4283c4a

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## Unreleased
4+
5+
- Implements [cdt-gdb-adapter `#442`](https://github.com/eclipse-cdt-cloud/cdt-gdb-adapter/issues/442): Support auxiliary GDB connections to allow selected operations while CPU running.
6+
37
## 2.3.0
48

59
- Documentation update: Clarify behavior of `initCommands` setting for `gdbtarget` type.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Launch and attach configuration settings that can be used with the `gdbtarget` d
5050
| `program` | x | x | `string` | Path to the program to be debugged. For `launch` requests, this program is also launched.<br>Default: `${workspaceFolder}/${command:askProgramPath}`, which allows to interactively enter the full program path.<br>**Note**: While `program` is marked as required, the debug adapter launches anyway for remote GDB connections. For example to inspect an embedded target system's memory and other hardware resources without debugging a program. |
5151
| `gdbAsync` | x | x | `boolean` | Use `mi-async` mode for communication with GDB. Always `true` if `gdbNonStop` is `true`.<br>Default: `true` |
5252
| `gdbNonStop` | x | x | `boolean` | Use `non-stop` mode for controlling multiple threads.<br> Default: `false` |
53+
| `auxiliaryGdb` | x | x | `boolean` | Creates an auxiliary GDB connection to the target TCP port to allow memory accesses and expression evaluation while the target is running.<br>Default: `false`<br>**Notes**:<br>* Requires support for multiple connections to the same TCP port in connected GDB server.<br>* Requires `gdbAsync` mode and cannot be used with `gdbNonStop` mode. |
5354
| `verbose` | x | x | `boolean` | Produce verbose log output. |
5455
| `logFile` | x | x | `string` | Absolute path to the file to log interaction with GDB.|
5556
| `openGdbConsole` | x | x | `boolean` | *(UNIX-only)* Open a GDB console in your IDE while debugging. |

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,11 @@
291291
"description": "Use non-stop mode for controlling multiple threads. (defaults to false)",
292292
"default": false
293293
},
294+
"auxiliaryGdb": {
295+
"type": "boolean",
296+
"description": "Creates an auxiliary GDB connection to the target TCP port if supported by connected GDB server.\nRequires `gdbAsync` mode and cannot be used with `gdbNonStop` mode.",
297+
"default": false
298+
},
294299
"verbose": {
295300
"type": "boolean",
296301
"description": "Produce verbose log output",

0 commit comments

Comments
 (0)