| author | |
| committer | |
| log | d9e11f4f3143e5739c5444302d4e7f4701a86d61 |
| tree | d880c3fb6ad32525115b4aaecdbe6154b0ba4649 |
| parent | 39f0cf90e5f761187a67b88741efcf0049baa959 |
| signature |
1 files changed, 3 insertions(+), 2 deletions(-)
lib/std/debug/cpu_context.zig+3-2| ... | ... | @@ -464,10 +464,11 @@ const Arm = struct { |
| 464 | 464 | \\ stm r0, {r0-r12} |
| 465 | 465 | \\ str r13, [r0, #0x34] |
| 466 | 466 | \\ str r14, [r0, #0x38] |
| 467 | \\ str r15, [r0, #0x3c] | |
| 467 | \\ mov r1, pc | |
| 468 | \\ str r1, [r0, #0x3c] | |
| 468 | 469 | : |
| 469 | 470 | : [r] "{r0}" (&ctx.r), |
| 470 | : .{ .memory = true }); | |
| 471 | : .{ .r1 = true, .memory = true }); | |
| 471 | 472 | return ctx; |
| 472 | 473 | } |
| 473 | 474 |