# std.debug: allow fp unwind from context · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/92bc619c49fb4b7281bdc1c3c0bc3e41a9d20d4d)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 92bc619c49fb4b7281bdc1c3c0bc3e41a9d20d4d

Requested commit: 92bc619c49fb4b7281bdc1c3c0bc3e41a9d20d4d

Commit: 92bc619c49fb4b7281bdc1c3c0bc3e41a9d20d4d

Tree: 01de65c840b64ee0958afe44daa0df48061ef4cc

Author: Matthew Lugg

Committer: Matthew Lugg

## Message

```
std.debug: allow fp unwind from context

It's easy to do FP unwinding from a CPU context: you just report the
captured ip/pc value first, and then unwind from the captured fp value.
All this really needed was a couple of new functions on the
`std.debug.cpu_context` implementations so that we don't need to rely on
`std.debug.Dwarf` to access the captured registers.

Resolves: #25576

```

## Parents

- [49e19fc94fe70cecc1cba21a04c1f2f1c1e4deb8](https://git.cafe/gitcafe/zig/commit/49e19fc94fe70cecc1cba21a04c1f2f1c1e4deb8?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/92bc619c49fb4b7281bdc1c3c0bc3e41a9d20d4d?format=markdown)
