summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/monitor/mon-monitor.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-02 21:00:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-02 21:00:37 +0000
commit2cc1b43b57815e8ebfb0545acb164e7fdf31eae5 (patch)
tree96f64e2d80e339e2f0e5545877b3d7fe53019d18 /cpukit/libmisc/monitor/mon-monitor.c
parent2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-2cc1b43b57815e8ebfb0545acb164e7fdf31eae5.tar.bz2
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.
Diffstat (limited to 'cpukit/libmisc/monitor/mon-monitor.c')
-rw-r--r--cpukit/libmisc/monitor/mon-monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libmisc/monitor/mon-monitor.c b/cpukit/libmisc/monitor/mon-monitor.c
index dc6f3824c7..c1365b340c 100644
--- a/cpukit/libmisc/monitor/mon-monitor.c
+++ b/cpukit/libmisc/monitor/mon-monitor.c
@@ -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))