[riot-notifications] [RIOT-OS/RIOT] cpu/avr8_common: Clean up cpu_print_last_inscrution() (#16917)

Marian Buschsieweke notifications at github.com
Thu Sep 30 10:42:38 CEST 2021

### Contribution description

Clang doesn't like the inline assembly of `cpu_print_last_instruction()`. The new version should be functionally equivalent, but also safe two instructions.

### Testing procedure

Kernel panics should still print the stack address.

### Issues/PRs references

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * <a href="https://github.com/RIOT-OS/RIOT/pull/16917/commits/417bc949abfd935e4608ff70796b9c75228a1d75">cpu/avr8_common: Clean up cpu_print_last_inscrution()</a>

-- File Changes --

    M cpu/avr8_common/include/cpu.h (15)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210930/1f999553/attachment.htm>

More information about the notifications mailing list