Changeset da9518a2 in rtems


Ignore:
Timestamp:
04/05/10 17:12:05 (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
b2e0ac6
Parents:
14782ec0
Message:

2010-04-05 Thomas Znidar <t.znidar@…>

  • libmisc/monitor/mon-monitor.c, libmisc/monitor/monitor.h: Add reset command.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r14782ec0 rda9518a2  
     12010-04-05      Thomas Znidar <t.znidar@embed-it.com>
     2
     3        * libmisc/monitor/mon-monitor.c, libmisc/monitor/monitor.h: Add reset
     4        command.
     5
    162010-04-04      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • cpukit/libmisc/monitor/mon-monitor.c

    r14782ec0 rda9518a2  
    230230      &rtems_monitor_commands[20],
    231231    },
     232                 { "reset",
     233      "(SW)Resets the System.",
     234      0,
     235      rtems_monitor_reset_cmd,
     236      { 0 },
     237      &rtems_monitor_commands[21],
     238    },
    232239#ifdef RTEMS_POSIX_API
    233240    { "pthread",
     
    238245      rtems_monitor_object_cmd,
    239246      { RTEMS_MONITOR_OBJECT_PTHREAD },
    240       &rtems_monitor_commands[21],
    241     },
     247      &rtems_monitor_commands[22],
     248    },
     249  #define RTEMS_MONITOR_DEBUGGER_NEXT 23
     250#else
    242251  #define RTEMS_MONITOR_DEBUGGER_NEXT 22
    243 #else
    244   #define RTEMS_MONITOR_DEBUGGER_NEXT 21
    245252#endif
    246253#ifdef CPU_INVOKE_DEBUGGER
     
    284291                                 &event_set);
    285292    return status;
     293}
     294
     295void __attribute__((weak))
     296rtems_monitor_reset_cmd(
     297                                                                                                int argc,
     298                                                                                char **argv,
     299                                                                                rtems_monitor_command_arg_t* command_arg,
     300                                                                                                bool verbose
     301)
     302{
     303
    286304}
    287305
  • cpukit/libmisc/monitor/monitor.h

    r14782ec0 rda9518a2  
    376376void    rtems_monitor_continue_cmd(int, char **, const rtems_monitor_command_arg_t*, bool);
    377377void    rtems_monitor_debugger_cmd(int, char **, const rtems_monitor_command_arg_t*, bool);
     378void    rtems_monitor_reset_cmd(int, char **, rtems_monitor_command_arg_t*, bool);
    378379void    rtems_monitor_node_cmd(int, char **, const rtems_monitor_command_arg_t*, bool);
    379380void    rtems_monitor_symbols_loadup(void);
Note: See TracChangeset for help on using the changeset viewer.