Commit 00cfac4
committed
runners: stlink_gdbserver: add --no-load argument to skip flash
Add new argument "--no-load" for debug sessions ("west debug" only) which
skips flashing binary before debugging. This flag functions exactly like
its identically-named counterpart in the OpenOCD runner: when present, the
"load" command is not added to the GDB client's command line. This allows
starting a debug session from reset but without flashing a binary, which is
useful to avoid unnecessary write cycles. Functionally, this could already
be achieved by running "west debugserver" in a terminal and "west attach"
in another, but using this flag is a more convenient method.
Signed-off-by: Mathieu Choplain <[email protected]>1 parent a3aa513 commit 00cfac4
1 file changed
+18
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
113 | 120 | | |
114 | 121 | | |
115 | 122 | | |
116 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
117 | 130 | | |
118 | 131 | | |
119 | 132 | | |
| |||
124 | 137 | | |
125 | 138 | | |
126 | 139 | | |
| 140 | + | |
127 | 141 | | |
128 | 142 | | |
129 | 143 | | |
| |||
133 | 147 | | |
134 | 148 | | |
135 | 149 | | |
| 150 | + | |
136 | 151 | | |
137 | 152 | | |
138 | 153 | | |
| |||
165 | 180 | | |
166 | 181 | | |
167 | 182 | | |
168 | | - | |
| 183 | + | |
| 184 | + | |
169 | 185 | | |
170 | 186 | | |
171 | 187 | | |
| |||
0 commit comments