[rtems commit] monitor: Remove dead code
Sebastian Huber
sebh at rtems.org
Thu Nov 8 07:11:23 UTC 2018
Module: rtems
Branch: master
Commit: ef30eb1c4d9e3cc6cc3f52091d37d7ecbec89bf6
Changeset: http://git.rtems.org/rtems/commit/?id=ef30eb1c4d9e3cc6cc3f52091d37d7ecbec89bf6
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Nov 8 07:52:28 2018 +0100
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 db11737..a3b408a 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 5a9457b..a990548 100644
--- a/cpukit/libmisc/monitor/mon-monitor.c
+++ b/cpukit/libmisc/monitor/mon-monitor.c
@@ -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
More information about the vc
mailing list