Commit ad01da6
committed
WFI: Reacquire control of the core in the debugger after it executes a WFI instruction.
A new gdb_stop_evt event was added, triggered when the debugger issues
a stop request. The thread now waits on wfi_evt or gdb_stop_evt
(SystemC OR event list). After waking, it checks whether gdb_stop_evt triggered;
if so, it exits the loop immediately.1 parent 0521018 commit ad01da6
File tree
2 files changed
+20
-1
lines changed- src
- iss/debugger
- sysc
2 files changed
+20
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
186 | 192 | | |
187 | 193 | | |
188 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
247 | 248 | | |
248 | 249 | | |
249 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
250 | 253 | | |
251 | 254 | | |
252 | 255 | | |
253 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
254 | 265 | | |
255 | 266 | | |
256 | 267 | | |
| |||
338 | 349 | | |
339 | 350 | | |
340 | 351 | | |
| 352 | + | |
341 | 353 | | |
342 | 354 | | |
| 355 | + | |
343 | 356 | | |
344 | 357 | | |
345 | 358 | | |
| |||
0 commit comments