[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-libc-dev] What about to make abort() a normal function?
From: |
Weddington, Eric |
Subject: |
RE: [avr-libc-dev] What about to make abort() a normal function? |
Date: |
Sun, 16 Dec 2007 16:17:16 -0700 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Dmitry K.
> Sent: Sunday, December 16, 2007 3:58 PM
> To: address@hidden
> Subject: [avr-libc-dev] What about to make abort() a normal function?
>
> Hi.
>
> Now the abort() is declared as inline function (which
> makes infinite loop). Such declaration does not give
> a possibility to the user to link the program with the
> own version of abort() function.
>
> What about to declare the abort() as a normal extern
> function? The library realization will as: load 1 to
> r24:r25 and jmp to exit().
>
Sounds reasonable to me.
Eric