Commit 8daf124
committed
Small fix to the zeroing of the SME regs before attempting reads
When the process is not in Streaming SVE Mode, all of the SME
thread_get_state calls will fail. Zero out the buffers that we
were going to write data into, so we don't leave old data in them
that might be sent to lldb (particularly in a GetRegisterContext
"g" packet response, where we need to read all registers to complete
the response).1 parent 697340e commit 8daf124
File tree
1 file changed
+3
-3
lines changed- lldb/tools/debugserver/source/MacOSX/arm64
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
518 | 521 | | |
519 | 522 | | |
520 | 523 | | |
| |||
526 | 529 | | |
527 | 530 | | |
528 | 531 | | |
529 | | - | |
530 | 532 | | |
531 | 533 | | |
532 | 534 | | |
| |||
553 | 555 | | |
554 | 556 | | |
555 | 557 | | |
556 | | - | |
557 | | - | |
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
| |||
0 commit comments