[PATCH] bsp: Remove fatal from exit(0). Add extended heap error output
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Jul 21 05:37:23 UTC 2021
Hello Chris,
thanks, this is a nice improvement.
On 21/07/2021 07:17, chrisj at rtems.org wrote:
> --- a/bsps/shared/start/bspfatal-default.c
> +++ b/bsps/shared/start/bspfatal-default.c
> @@ -22,15 +22,24 @@ void bsp_fatal_extension(
> {
> #if BSP_VERBOSE_FATAL_EXTENSION
> Thread_Control *executing;
> + const char* TYPE = "*** FATAL ***\n";
> + const char* type = "fatal";
> +
> + if ( source == RTEMS_FATAL_SOURCE_EXIT ) {
> + TYPE = "";
It would be good to still have a unique pattern which starts the fatal
extension message. The "***" is also used for the test begin/end
marker. What about "*** SYSTEM TERMINATED ***"?
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list