monitor: Remove dead code

Update #3587.
Update #3589.
This commit is contained in:
Sebastian Huber
2018-11-08 07:52:28 +01:00
parent a9767a07a2
commit ef30eb1c4d
2 changed files with 0 additions and 19 deletions

View File

@@ -518,13 +518,6 @@ rtems_monitor_task(
rtems_task_argument monitor_flags
)
{
#if UNUSED
rtems_tcb *debugee = 0;
rtems_context *rp;
#if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
rtems_context_fp *fp;
#endif
#endif
char command_buffer[513];
int argc;
char *argv[64];
@@ -573,13 +566,6 @@ rtems_monitor_task(
{
const rtems_monitor_command_entry_t *command;
#if UNUSED
debugee = _Thread_Executing;
rp = &debugee->Registers;
#if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
fp = debugee->fp_context; /* possibly 0 */
#endif
#endif
if (0 == rtems_monitor_command_read(command_buffer, &argc, argv))
continue;
if (argc < 1

View File

@@ -32,11 +32,6 @@
#include <rtems/monitor.h>
/* set by trap handler */
extern rtems_tcb *debugger_interrupted_task;
extern rtems_context *debugger_interrupted_task_context;
extern uint32_t debugger_trap;
/*
* Various id's for the monitor
* They need to be public variables for access by other agencies