This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: out of memory in Balloc
- From: Joern RENNECKE <joern dot rennecke at st dot com>
- To: Dave Korn <dave dot korn at artimi dot com>
- Cc: newlib at sourceware dot org
- Date: Thu, 03 Aug 2006 11:36:46 +0100
- Subject: Re: out of memory in Balloc
- References: <053b01c6b668$d8718490$a501a8c0@CAM.ARTIMI.COM>
Dave Korn wrote:
How about raising a SEGV? newlib supplies kill(..), doesn't it? Hmmm, but
it's probably a stub on lots of arches. Some way of raising SEGV if it's
possible and falling back to abort() if it isn't, perhaps?
abort actually calls raise, and raise_r calls kill_r.