[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rtems_panic() in gxx_wrappers.c
- Date: Mon, 30 Nov 2009 13:11:22 +0100
- From: sebastian.huber at embedded-brains.de (Sebastian Huber)
- Subject: rtems_panic() in gxx_wrappers.c
Hi,
the file "gxx_wrappers.c" contains the mutex implementation used by the C++
part of GCC. It uses rtems_panic() to handle fatal errors. This is quite bad
for targets with limited resources since this pulls in the C IO library and
fprintf(). I would like to change this to rtems_fatal_error_occurred(). How
can I allocate an error code for this place?
Have a nice day!
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine gesch?ftliche Mitteilung im Sinne des EHUG.