Changeset 0690fb28 in rtems


Ignore:
Timestamp:
Sep 2, 2011, 1:17:35 PM (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
63f871f
Parents:
1c0749b9
Message:

2011-09-02 Sebastian Huber <sebastian.huber@…>

  • libmisc/monitor/mon-monitor.c: Removed "exit" and "quit" commands to avoid confusion. They were an alias to the "fatal" command.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r1c0749b9 r0690fb28  
     12011-09-02      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * libmisc/monitor/mon-monitor.c: Removed "exit" and "quit" commands to
     4        avoid confusion.  They were an alias to the "fatal" command.
     5
    162011-09-01      Joel Sherrill <joel.sherrilL@OARcorp.com>
    27
  • cpukit/libmisc/monitor/mon-monitor.c

    r1c0749b9 r0690fb28  
    198198      &rtems_monitor_commands[16],
    199199    },
    200     { "exit",
    201       "Invoke 'rtems_fatal_error_occurred' with 'status' "
    202       "(default is RTEMS_SUCCESSFUL)\n"
    203       "  exit [status]",
    204       0,
    205       rtems_monitor_fatal_cmd,
    206       { .status_code = RTEMS_SUCCESSFUL },
    207       &rtems_monitor_commands[17],
    208     },
    209200    { "fatal",
    210201      "'exit' with fatal error; default error is RTEMS_TASK_EXITTED\n"
     
    213204      rtems_monitor_fatal_cmd,
    214205      { .status_code = RTEMS_TASK_EXITTED },            /* exit value */
    215       &rtems_monitor_commands[18],
    216     },
    217     { "quit",
    218       "Alias for 'exit'\n",
    219       0,
    220       rtems_monitor_fatal_cmd,
    221       { .status_code = RTEMS_SUCCESSFUL },              /* exit value */
    222       &rtems_monitor_commands[19],
     206      &rtems_monitor_commands[17],
    223207    },
    224208    { "reset",
     
    227211      rtems_monitor_reset_cmd,
    228212      { 0 },
    229       &rtems_monitor_commands[20],
     213      &rtems_monitor_commands[18],
    230214    },
    231215#if defined(RTEMS_MULTIPROCESSING)
     
    236220      rtems_monitor_node_cmd,
    237221      { 0 },
    238       &rtems_monitor_commands[21],
    239     },
    240   #define RTEMS_MONITOR_POSIX_NEXT 22
     222      &rtems_monitor_commands[19],
     223    },
     224  #define RTEMS_MONITOR_POSIX_NEXT 20
    241225#else
    242   #define RTEMS_MONITOR_POSIX_NEXT 21
     226  #define RTEMS_MONITOR_POSIX_NEXT 19
    243227#endif
    244228#ifdef RTEMS_POSIX_API
Note: See TracChangeset for help on using the changeset viewer.