Skip to content

Commit 0f620fd

Browse files
committed
Fix documentation of initCommands for gdb attach configuration
They are sent _after_ attaching, much like for `gdbtarget` configurations.
1 parent 6d725f1 commit 0f620fd

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

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+
- Fixes [cdt-gdb-adapter `#432`](https://github.com/eclipse-cdt-cloud/cdt-gdb-adapter/issues/432): Incorrect documentation of `initCommands`.
6+
37
## 2.6.0
48

59
- Update to cdt-gdb-adapter [v1.6.0](https://github.com/eclipse-cdt-cloud/cdt-gdb-adapter/releases/tag/v1.6.0)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Launch and attach configuration settings that can be used with the `gdb` debugge
3535
| `verbose` | x | x | `boolean` | Produce verbose log output. |
3636
| `logFile` | x | x | `string` | Absolute path to the file to log interaction with GDB.|
3737
| `openGdbConsole` | x | x | `boolean` | *(UNIX-only)* Open a GDB console in your IDE while debugging. |
38-
| `initCommands` | x | x | `string[]` | List of GDB commands sent before attaching to inferior. |
38+
| `initCommands` | x | x | `string[]` | List of GDB commands sent after attaching to inferior before running/continuing. |
3939

4040

4141
### `gdbtarget` Debugger Type

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
},
224224
"initCommands": {
225225
"type": "array",
226-
"description": "List of GDB commands sent before attaching to inferior.",
226+
"description": "List of GDB commands sent after attaching to inferior before continuing.",
227227
"items": {
228228
"type": "string"
229229
},

0 commit comments

Comments
 (0)