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

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

Re: [avr-libc-dev] [bug #21841] Add CLI to exit() and abort() loops


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] [bug #21841] Add CLI to exit() and abort() loops
Date: Wed, 19 Dec 2007 10:55:30 +0100
User-agent: Mutt/1.5.11

As Dmitry K. wrote:

> Corrections are needed:

Spasibo bolshoye, Dmitry!  I've probably been too tired last night to
really catch the differences between exit and _exit in these source
files.  I completely reverted the change, and re-opened the bug
tracker item.  That way, the correct place to fix this is IMHO
libgcc.a itself.  I attached a suggested patch for libgcc.a to the
patch tracker, and assigned it to Anatoly since he's got GCC commit
privs.

Btw., since we are differentiating between exit and _exit (which the C
standard calles _Exit), this would open room for an implementation of
atexit().  According to the standard, abort() ought to be implemented
in terms of "raise(SIGABRT)" which, of course, opens another can of
worms (<signal.h>).

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

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