change log for rtems (2010-11-19)

rtems-vc at rtems.org rtems-vc at rtems.org
Fri Nov 19 10:11:01 UTC 2010


 *sh*:
2010-11-19	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* libmisc/monitor/mon-monitor.c: Fixed broken monitor command list.

M 1.2651  cpukit/ChangeLog
M   1.42  cpukit/libmisc/monitor/mon-monitor.c

diff -u rtems/cpukit/ChangeLog:1.2650 rtems/cpukit/ChangeLog:1.2651
--- rtems/cpukit/ChangeLog:1.2650	Tue Nov 16 13:14:09 2010
+++ rtems/cpukit/ChangeLog	Fri Nov 19 03:44:21 2010
@@ -1,3 +1,7 @@
+2010-11-19	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* libmisc/monitor/mon-monitor.c: Fixed broken monitor command list.
+
 2010-11-16	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	PR 1718/cpukit

diff -u rtems/cpukit/libmisc/monitor/mon-monitor.c:1.41 rtems/cpukit/libmisc/monitor/mon-monitor.c:1.42
--- rtems/cpukit/libmisc/monitor/mon-monitor.c:1.41	Tue Nov 16 11:51:02 2010
+++ rtems/cpukit/libmisc/monitor/mon-monitor.c	Fri Nov 19 03:44:21 2010
@@ -106,16 +106,6 @@
       { 0 },
       &rtems_monitor_commands[6],
     },
-#if defined(RTEMS_MULTIPROCESSING)
-    { "node",
-      "Specify default node number for commands that take id's.\n"
-      "  node [ node number ]",
-      0,
-      rtems_monitor_node_cmd,
-      { 0 },
-      &rtems_monitor_commands[7],
-    },
-#endif
     { "symbol",
       "Display value associated with specified symbol. "
       "Defaults to displaying all known symbols.\n"
@@ -123,7 +113,7 @@
       0,
       rtems_monitor_symbol_cmd,
       { .symbol_table = &rtems_monitor_symbols },
-      &rtems_monitor_commands[8],
+      &rtems_monitor_commands[7],
     },
     { "extension",
       "Display information about specified extensions. "
@@ -132,7 +122,7 @@
       0,
       rtems_monitor_object_cmd,
       { RTEMS_MONITOR_OBJECT_EXTENSION },
-      &rtems_monitor_commands[9],
+      &rtems_monitor_commands[8],
     },
     { "task",
       "Display information about the specified tasks. "
@@ -141,7 +131,7 @@
       0,
       rtems_monitor_object_cmd,
       { RTEMS_MONITOR_OBJECT_TASK },
-      &rtems_monitor_commands[10],
+      &rtems_monitor_commands[9],
     },
     { "queue",
       "Display information about the specified message queues. "
@@ -150,7 +140,7 @@
       0,
       rtems_monitor_object_cmd,
       { RTEMS_MONITOR_OBJECT_QUEUE },
-      &rtems_monitor_commands[11],
+      &rtems_monitor_commands[10],
     },
     { "sema",
       "sema [id [id ... ] ]\n"
@@ -160,7 +150,7 @@
       0,
       rtems_monitor_object_cmd,
       { RTEMS_MONITOR_OBJECT_SEMAPHORE },
-      &rtems_monitor_commands[12],
+      &rtems_monitor_commands[11],
     },
     { "region",
       "region [id [id ... ] ]\n"
@@ -170,7 +160,7 @@
       0,
       rtems_monitor_object_cmd,
       { RTEMS_MONITOR_OBJECT_REGION },
-      &rtems_monitor_commands[13],
+      &rtems_monitor_commands[12],
     },
     { "part",
       "part [id [id ... ] ]\n"
@@ -180,7 +170,7 @@
       0,
       rtems_monitor_object_cmd,
       { RTEMS_MONITOR_OBJECT_PARTITION },
-      &rtems_monitor_commands[14],
+      &rtems_monitor_commands[13],
     },
     { "object",
       "Display information about specified RTEMS objects. "
@@ -190,7 +180,7 @@
       0,
       rtems_monitor_object_cmd,
       { RTEMS_MONITOR_OBJECT_INVALID },
-      &rtems_monitor_commands[15],
+      &rtems_monitor_commands[14],
     },
     { "driver",
       "Display the RTEMS device driver table.\n"
@@ -198,14 +188,14 @@
       0,
       rtems_monitor_object_cmd,
       { RTEMS_MONITOR_OBJECT_DRIVER },
-      &rtems_monitor_commands[16],
+      &rtems_monitor_commands[15],
     },
     { "dname",
       "Displays information about named drivers.\n",
       0,
       rtems_monitor_object_cmd,
       { RTEMS_MONITOR_OBJECT_DNAME },
-      &rtems_monitor_commands[17],
+      &rtems_monitor_commands[16],
     },
     { "exit",
       "Invoke 'rtems_fatal_error_occurred' with 'status' "
@@ -214,7 +204,7 @@
       0,
       rtems_monitor_fatal_cmd,
       { .status_code = RTEMS_SUCCESSFUL },
-      &rtems_monitor_commands[18],
+      &rtems_monitor_commands[17],
     },
     { "fatal",
       "'exit' with fatal error; default error is RTEMS_TASK_EXITTED\n"
@@ -222,22 +212,35 @@
       0,
       rtems_monitor_fatal_cmd,
       { .status_code = RTEMS_TASK_EXITTED },		/* exit value */
-      &rtems_monitor_commands[19],
+      &rtems_monitor_commands[18],
     },
     { "quit",
       "Alias for 'exit'\n",
       0,
       rtems_monitor_fatal_cmd,
       { .status_code = RTEMS_SUCCESSFUL },		/* exit value */
-      &rtems_monitor_commands[20],
+      &rtems_monitor_commands[19],
     },
     { "reset",
       "(SW)Resets the System.",
       0,
       rtems_monitor_reset_cmd,
       { 0 },
+      &rtems_monitor_commands[20],
+    },
+#if defined(RTEMS_MULTIPROCESSING)
+    { "node",
+      "Specify default node number for commands that take id's.\n"
+      "  node [ node number ]",
+      0,
+      rtems_monitor_node_cmd,
+      { 0 },
       &rtems_monitor_commands[21],
     },
+  #define RTEMS_MONITOR_POSIX_NEXT 22
+#else
+  #define RTEMS_MONITOR_POSIX_NEXT 21
+#endif
 #ifdef RTEMS_POSIX_API
     { "pthread",
       "Display information about the specified pthreads. "
@@ -246,11 +249,11 @@
       0,
       rtems_monitor_object_cmd,
       { RTEMS_MONITOR_OBJECT_PTHREAD },
-      &rtems_monitor_commands[22],
+      &rtems_monitor_commands[RTEMS_MONITOR_POSIX_NEXT],
     },
-  #define RTEMS_MONITOR_DEBUGGER_NEXT 23
+  #define RTEMS_MONITOR_DEBUGGER_NEXT (RTEMS_MONITOR_POSIX_NEXT + 1)
 #else
-  #define RTEMS_MONITOR_DEBUGGER_NEXT 22
+  #define RTEMS_MONITOR_DEBUGGER_NEXT RTEMS_MONITOR_POSIX_NEXT
 #endif
 #ifdef CPU_INVOKE_DEBUGGER
     { "debugger",



--

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/20101119/4a1ec31f/attachment.html>


More information about the vc mailing list