From ef30eb1c4d9e3cc6cc3f52091d37d7ecbec89bf6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 8 Nov 2018 07:52:28 +0100 Subject: monitor: Remove dead code Update #3587. Update #3589. --- cpukit/libmisc/monitor/mon-editor.c | 14 -------------- cpukit/libmisc/monitor/mon-monitor.c | 5 ----- 2 files changed, 19 deletions(-) diff --git a/cpukit/libmisc/monitor/mon-editor.c b/cpukit/libmisc/monitor/mon-editor.c index db1173762b..a3b408a14f 100644 --- a/cpukit/libmisc/monitor/mon-editor.c +++ b/cpukit/libmisc/monitor/mon-editor.c @@ -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 diff --git a/cpukit/libmisc/monitor/mon-monitor.c b/cpukit/libmisc/monitor/mon-monitor.c index 5a9457b9ef..a990548e61 100644 --- a/cpukit/libmisc/monitor/mon-monitor.c +++ b/cpukit/libmisc/monitor/mon-monitor.c @@ -32,11 +32,6 @@ #include -/* 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 -- cgit v1.2.3