2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>

* libmisc/monitor/mon-monitor.c, rtems/include/rtems/rtems/types.h: Do
	not have fp context type when no hardware or software floating point
	is available.
This commit is contained in:
Joel Sherrill
2008-10-02 21:00:37 +00:00
parent 82478ffc7d
commit 2cc1b43b57
3 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/monitor/mon-monitor.c, rtems/include/rtems/rtems/types.h: Do
not have fp context type when no hardware or software floating point
is available.
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/malloc_statistics_helpers.c,

View File

@@ -508,7 +508,9 @@ rtems_monitor_task(
{
rtems_tcb *debugee = 0;
rtems_context *rp;
#if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
rtems_context_fp *fp;
#endif
char command_buffer[513];
int argc;
char *argv[64];
@@ -561,8 +563,6 @@ rtems_monitor_task(
rp = &debugee->Registers;
#if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
fp = debugee->fp_context; /* possibly 0 */
#else
fp = 0;
#endif
if (0 == rtems_monitor_command_read(command_buffer, &argc, argv))

View File

@@ -75,10 +75,12 @@ typedef Objects_Id rtems_id;
*/
typedef Context_Control rtems_context;
#if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
/**
* This type is the public name for task floating point context area.
*/
typedef Context_Control_fp rtems_context_fp;
#endif
/**
* This type is the public name for the architecture specific