avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #52181] assert should make Serial.flush() before cal


From: Joerg Wunsch
Subject: [avr-libc-dev] [bug #52181] assert should make Serial.flush() before calling abort()
Date: Sun, 8 Oct 2017 13:47:12 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:46.0) Gecko/20100101 Firefox/46.0

Update of bug #52181 (project avr-libc):

                  Status:                    None => Wont Fix               
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #2:

I agree with Johann on that. There's nothing avr-libc could do about it.

If Arduino (which I think is what you are talking about) needs 
a Serial.flush() before disabling interrupts, I think it would 
be best if the Arduino environment would override abort() by 
their own implementation. While this is not really covered by 
the C standard (library functions must not be reimplemented by 
the application), I think it will work well here. If not, we 
could always resort to implementing an overridable _Abort() 
backend function that can then be reimplemented by the Arduino 
environment.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?52181>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]