summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/monitor
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-08 07:52:28 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-08 08:09:25 +0100
commitef30eb1c4d9e3cc6cc3f52091d37d7ecbec89bf6 (patch)
tree1952662dd1ec1d28f03f6e6d9e08cb0041526230 /cpukit/libmisc/monitor
parentscore: Use RTEMS_DEPRECATED for deprecated types (diff)
downloadrtems-ef30eb1c4d9e3cc6cc3f52091d37d7ecbec89bf6.tar.bz2
monitor: Remove dead code
Update #3587. Update #3589.
Diffstat (limited to 'cpukit/libmisc/monitor')
-rw-r--r--cpukit/libmisc/monitor/mon-editor.c14
-rw-r--r--cpukit/libmisc/monitor/mon-monitor.c5
2 files changed, 0 insertions, 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 <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