diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-07-22 07:37:19 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-07-24 09:09:18 +0200 |
commit | 975e19187d5772f18a242c535b8f0e43f2c33dce (patch) | |
tree | 8eb8302cbbdfdbe1fe81e7551363b865b76d9816 /cpukit/libmisc/monitor/mon-task.c | |
parent | arm: Include proper header file (diff) | |
download | rtems-975e19187d5772f18a242c535b8f0e43f2c33dce.tar.bz2 |
monitor: Remove notepad support
Diffstat (limited to 'cpukit/libmisc/monitor/mon-task.c')
-rw-r--r-- | cpukit/libmisc/monitor/mon-task.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/cpukit/libmisc/monitor/mon-task.c b/cpukit/libmisc/monitor/mon-task.c index c08f1d2e75..851c593a99 100644 --- a/cpukit/libmisc/monitor/mon-task.c +++ b/cpukit/libmisc/monitor/mon-task.c @@ -46,17 +46,6 @@ rtems_monitor_task_canonical( canonical_task->modes = 0; /* XXX FIX ME.... rtems_thread->current_modes; */ canonical_task->attributes = 0 /* XXX FIX ME rtems_thread->API_Extensions[ THREAD_API_RTEMS ]->attribute_set */; - /* - * We know this is deprecated and don't want a warning on every BSP built. - */ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wdeprecated-declarations" - if ( rtems_configuration_get_notepads_enabled() ) { - (void) memcpy( - canonical_task->notepad, api ->Notepads, sizeof(canonical_task->notepad)); - } - #pragma GCC diagnostic pop - /* XXX more to fix */ /* (void) memcpy(&canonical_task->wait_args, &rtems_thread->Wait.Extra, sizeof(canonical_task->wait_args)); @@ -70,7 +59,7 @@ rtems_monitor_task_dump_header( ) { fprintf(stdout,"\ - ID NAME PRI STATE MODES EVENTS WAITID WAITARG NOTES\n\ + ID NAME PRI STATE MODES EVENTS WAITID WAITARG\n\ "); /*23456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 0 1 2 3 4 5 6 7 */ @@ -108,15 +97,5 @@ rtems_monitor_task_dump( length += rtems_monitor_dump_hex(monitor_task->wait_args); } - length += rtems_monitor_pad(72, length); - - /* - * We know this is deprecated and don't want a warning on every BSP built. - */ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wdeprecated-declarations" - length += rtems_monitor_dump_notepad(monitor_task->notepad); - #pragma GCC diagnostic pop - fprintf(stdout,"\n"); } |