# std.debug: use the SP as the initial FP on SPARC · gitcafe/zig

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

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

Visibility: public

Requested revision: 912fed338019487ec025ecbe3cd27134d75fe6e4

Requested commit: 912fed338019487ec025ecbe3cd27134d75fe6e4

Commit: 912fed338019487ec025ecbe3cd27134d75fe6e4

Tree: 226f6e8a89b28dd99f6b1b77aa6e9b4ef7838d60

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
std.debug: use the SP as the initial FP on SPARC

The FP would point to the register save area for the previous frame, while the
SP points to the register save area for the current frame. So use the latter.

```

## Parents

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

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