2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>

* shared/bspstart.c, shared/gnatcommon.c: Remove debug print methods
	that are redundant with prntk and replace their use with printk.
This commit is contained in:
Joel Sherrill
2007-05-09 17:50:09 +00:00
parent 55cb7c9474
commit 1ab18ec87b
3 changed files with 10 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/bspstart.c, shared/gnatcommon.c: Remove debug print methods
that are redundant with prntk and replace their use with printk.
2007-04-17 Joel Sherrill <joel@OARcorp.com>
* erc32/tools/runtest.in, leon2/tools/runtest.in,

View File

@@ -112,7 +112,7 @@ void bsp_start( void )
(unsigned char *)rdb_start - BSP_Configuration.work_space_size;
if ( work_space_start <= (unsigned char *)&end ) {
DEBUG_puts( "bspstart: Not enough RAM!!!\n" );
printk( "bspstart: Not enough RAM!!!\n" );
BSP_fatal_return();
}

View File

@@ -6,6 +6,7 @@
*/
#include <bsp.h>
#include <rtems/bspIo.h>
#include <signal.h>
#include <stdlib.h>
@@ -65,13 +66,13 @@ __gnat_signals_Abnormal_termination_handler (int signo)
switch (signo)
{
case SIGFPE:
DEBUG_puts ("\nConstraint_Error\n");
printk("\nConstraint_Error\n");
break;
case SIGSEGV:
DEBUG_puts ("\nStorage_Error\n");
printk("\nStorage_Error\n");
break;
default:
DEBUG_puts ("\nProgram_Error\n");
printk("\nProgram_Error\n");
break;
}
exit (1);