Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminate the simulation on exit() from firmware #380

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 6, 2020

  1. run_avr: gracefully quit on exit() from firmware

    When the firmware calls exit() or returns from main(), it ends up
    running _exit(), which disables interrupts and hangs the CPU in an
    infinite, empty loop. run_avr now terminates the simulation if the
    CPU-hanging instruction (rjmp .-2) is executed with interrupts disabled.
    edgar-bonet committed Jun 6, 2020
    Configuration menu
    Copy the full SHA
    aadaf41 View commit details
    Browse the repository at this point in the history