change log for rtems (2011-09-02)
rtems-vc at rtems.org
rtems-vc at rtems.org
Fri Sep 2 14:12:00 UTC 2011
*sh*:
2011-09-02 Sebastian Huber <sebastian.huber at embedded-brains.de>
* libmisc/monitor/mon-monitor.c: Removed "exit" and "quit" commands to
avoid confusion. They were an alias to the "fatal" command.
M 1.2913 cpukit/ChangeLog
M 1.43 cpukit/libmisc/monitor/mon-monitor.c
diff -u rtems/cpukit/ChangeLog:1.2912 rtems/cpukit/ChangeLog:1.2913
--- rtems/cpukit/ChangeLog:1.2912 Thu Sep 1 13:24:46 2011
+++ rtems/cpukit/ChangeLog Fri Sep 2 08:17:34 2011
@@ -1,3 +1,8 @@
+2011-09-02 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * libmisc/monitor/mon-monitor.c: Removed "exit" and "quit" commands to
+ avoid confusion. They were an alias to the "fatal" command.
+
2011-09-01 Joel Sherrill <joel.sherrilL at OARcorp.com>
PR 1895/cpukit
diff -u rtems/cpukit/libmisc/monitor/mon-monitor.c:1.42 rtems/cpukit/libmisc/monitor/mon-monitor.c:1.43
--- rtems/cpukit/libmisc/monitor/mon-monitor.c:1.42 Fri Nov 19 03:44:21 2010
+++ rtems/cpukit/libmisc/monitor/mon-monitor.c Fri Sep 2 08:17:35 2011
@@ -197,36 +197,20 @@
{ RTEMS_MONITOR_OBJECT_DNAME },
&rtems_monitor_commands[16],
},
- { "exit",
- "Invoke 'rtems_fatal_error_occurred' with 'status' "
- "(default is RTEMS_SUCCESSFUL)\n"
- " exit [status]",
- 0,
- rtems_monitor_fatal_cmd,
- { .status_code = RTEMS_SUCCESSFUL },
- &rtems_monitor_commands[17],
- },
{ "fatal",
"'exit' with fatal error; default error is RTEMS_TASK_EXITTED\n"
" fatal [status]",
0,
rtems_monitor_fatal_cmd,
{ .status_code = RTEMS_TASK_EXITTED }, /* exit value */
- &rtems_monitor_commands[18],
- },
- { "quit",
- "Alias for 'exit'\n",
- 0,
- rtems_monitor_fatal_cmd,
- { .status_code = RTEMS_SUCCESSFUL }, /* exit value */
- &rtems_monitor_commands[19],
+ &rtems_monitor_commands[17],
},
{ "reset",
"(SW)Resets the System.",
0,
rtems_monitor_reset_cmd,
{ 0 },
- &rtems_monitor_commands[20],
+ &rtems_monitor_commands[18],
},
#if defined(RTEMS_MULTIPROCESSING)
{ "node",
@@ -235,11 +219,11 @@
0,
rtems_monitor_node_cmd,
{ 0 },
- &rtems_monitor_commands[21],
+ &rtems_monitor_commands[19],
},
- #define RTEMS_MONITOR_POSIX_NEXT 22
+ #define RTEMS_MONITOR_POSIX_NEXT 20
#else
- #define RTEMS_MONITOR_POSIX_NEXT 21
+ #define RTEMS_MONITOR_POSIX_NEXT 19
#endif
#ifdef RTEMS_POSIX_API
{ "pthread",
*sh*:
2011-09-02 Sebastian Huber <sebastian.huber at embedded-brains.de>
* stackchk/init.c, stackchk/system.h, stackchk/stackchk.scn: Print end
of test message.
M 1.275 testsuites/libtests/ChangeLog
M 1.11 testsuites/libtests/stackchk/init.c
M 1.5 testsuites/libtests/stackchk/stackchk.scn
M 1.12 testsuites/libtests/stackchk/system.h
diff -u rtems/testsuites/libtests/ChangeLog:1.274 rtems/testsuites/libtests/ChangeLog:1.275
--- rtems/testsuites/libtests/ChangeLog:1.274 Fri Jul 29 15:29:13 2011
+++ rtems/testsuites/libtests/ChangeLog Fri Sep 2 08:41:55 2011
@@ -1,3 +1,8 @@
+2011-09-02 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * stackchk/init.c, stackchk/system.h, stackchk/stackchk.scn: Print end
+ of test message.
+
2011-07-29 Pawel Zagorski <pzagor at agh.edu.pl>
PR 1865/tests
diff -u rtems/testsuites/libtests/stackchk/init.c:1.10 rtems/testsuites/libtests/stackchk/init.c:1.11
--- rtems/testsuites/libtests/stackchk/init.c:1.10 Tue Feb 22 01:34:08 2011
+++ rtems/testsuites/libtests/stackchk/init.c Fri Sep 2 08:41:55 2011
@@ -87,3 +87,19 @@
status = rtems_task_delete( RTEMS_SELF );
directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
}
+
+void Fatal_extension( uint32_t source, bool is_internal, uint32_t error )
+{
+ if ( source != INTERNAL_ERROR_RTEMS_API ) {
+ printk( "unexpected fatal source\n" );
+ } else if ( is_internal ) {
+ printk( "unexpected fatal is internal\n" );
+ } else if ( error != 0x81 ) {
+ printk( "unexpected fatal error\n" );
+ } else {
+ printk( "*** END OF TEST STACK CHECKER ***\n" );
+ }
+
+ if ( _System_state_Is_up( _System_state_Get() ) )
+ _Thread_Stop_multitasking();
+}
diff -u rtems/testsuites/libtests/stackchk/stackchk.scn:1.4 rtems/testsuites/libtests/stackchk/stackchk.scn:1.5
--- rtems/testsuites/libtests/stackchk/stackchk.scn:1.4 Tue Jun 22 14:59:35 2010
+++ rtems/testsuites/libtests/stackchk/stackchk.scn Fri Sep 2 08:41:55 2011
@@ -20,3 +20,4 @@
task name string: TA1
task stack area (????? Bytes): 0x???????? .. 0x????????
damaged pattern area (16 Bytes): 0x???????? .. 0x????????
+*** END OF TEST STACK CHECKER ***
diff -u rtems/testsuites/libtests/stackchk/system.h:1.11 rtems/testsuites/libtests/stackchk/system.h:1.12
--- rtems/testsuites/libtests/stackchk/system.h:1.11 Wed Sep 17 14:31:13 2008
+++ rtems/testsuites/libtests/stackchk/system.h Fri Sep 2 08:41:55 2011
@@ -43,6 +43,11 @@
#define CONFIGURE_STACK_CHECKER_ENABLED
+void Fatal_extension( uint32_t source, bool is_internal, uint32_t error );
+
+#define CONFIGURE_INITIAL_EXTENSIONS \
+ { NULL, NULL, NULL, NULL, NULL, NULL, NULL, Fatal_extension }
+
#include <rtems/confdefs.h>
/* global variables */
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110902/92b38922/attachment-0001.html>
More information about the vc
mailing list