forked from Imagelibrary/rtems
2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-editor.c (rtems_monitor_task): Comment out unused vars "debugee", "rp", "fp".
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* libmisc/monitor/mon-editor.c (rtems_monitor_task):
|
||||||
|
Comment out unused vars "debugee", "rp", "fp".
|
||||||
* posix/src/alarm.c: Make _POSIX_signals_Alarm_TSR static.
|
* posix/src/alarm.c: Make _POSIX_signals_Alarm_TSR static.
|
||||||
Remove unused var "status".
|
Remove unused var "status".
|
||||||
* libmisc/shell/main_ls.c: Comment out unused var kflag.
|
* libmisc/shell/main_ls.c: Comment out unused var kflag.
|
||||||
|
|||||||
@@ -518,10 +518,12 @@ rtems_monitor_task(
|
|||||||
rtems_task_argument monitor_flags
|
rtems_task_argument monitor_flags
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
#if UNUSED
|
||||||
rtems_tcb *debugee = 0;
|
rtems_tcb *debugee = 0;
|
||||||
rtems_context *rp;
|
rtems_context *rp;
|
||||||
#if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
|
#if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
|
||||||
rtems_context_fp *fp;
|
rtems_context_fp *fp;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
char command_buffer[513];
|
char command_buffer[513];
|
||||||
int argc;
|
int argc;
|
||||||
@@ -571,12 +573,13 @@ rtems_monitor_task(
|
|||||||
{
|
{
|
||||||
const rtems_monitor_command_entry_t *command;
|
const rtems_monitor_command_entry_t *command;
|
||||||
|
|
||||||
|
#if UNUSED
|
||||||
debugee = _Thread_Executing;
|
debugee = _Thread_Executing;
|
||||||
rp = &debugee->Registers;
|
rp = &debugee->Registers;
|
||||||
#if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
|
#if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
|
||||||
fp = debugee->fp_context; /* possibly 0 */
|
fp = debugee->fp_context; /* possibly 0 */
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
if (0 == rtems_monitor_command_read(command_buffer, &argc, argv))
|
if (0 == rtems_monitor_command_read(command_buffer, &argc, argv))
|
||||||
continue;
|
continue;
|
||||||
if (argc < 1
|
if (argc < 1
|
||||||
|
|||||||
Reference in New Issue
Block a user