diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-02-02 15:02:16 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-02-02 15:02:16 -0600 |
commit | 6d1a1d3ebb1bd842ed1f3887064f481cda166e42 (patch) | |
tree | e34c6818e58b23fd764bc2b17475eb40c5dd65db /cpukit/libmisc/shell/shellconfig.h | |
parent | PR 1962/bsps - MVME162 Console Corrections and Improvements (diff) | |
download | rtems-6d1a1d3ebb1bd842ed1f3887064f481cda166e42.tar.bz2 |
PR 2012 - mdump/wdump shell cmds handle length arg incorrectly; add ldump cmd
* libmisc/shell/main_mdump.c: Reworked to fix bugs in handling of the
length argument and to provide an "ldump" command. This file now also
supports the "wdump" command. In addition, an RTEMS API function called
rtems_mdump() is provided to allow easy dumping from application code.
* libmisc/shell/main_mwdump.c: Obsolete file.
* libmisc/Makefile.am: Removed main_mwdump.c
* libmisc/shell/shellconfig.h: Added "ldump" command.
* shell/memory.t: Added documentation for the "ldump" command
Signed-off-by: Ric Claus <claus@SLAC.Stanford.edu>
Diffstat (limited to 'cpukit/libmisc/shell/shellconfig.h')
-rw-r--r-- | cpukit/libmisc/shell/shellconfig.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cpukit/libmisc/shell/shellconfig.h b/cpukit/libmisc/shell/shellconfig.h index 8e0b38ca4c..971df25b22 100644 --- a/cpukit/libmisc/shell/shellconfig.h +++ b/cpukit/libmisc/shell/shellconfig.h @@ -5,14 +5,12 @@ */ /* - * COPYRIGHT (c) 1989-2011. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. - * - * $Id$ */ #ifndef _RTEMS_SHELL_CONFIG_h @@ -33,6 +31,7 @@ extern rtems_shell_cmd_t rtems_shell_UNSETENV_Command; extern rtems_shell_cmd_t rtems_shell_MDUMP_Command; extern rtems_shell_cmd_t rtems_shell_WDUMP_Command; +extern rtems_shell_cmd_t rtems_shell_LDUMP_Command; extern rtems_shell_cmd_t rtems_shell_MEDIT_Command; extern rtems_shell_cmd_t rtems_shell_MFILL_Command; extern rtems_shell_cmd_t rtems_shell_MMOVE_Command; @@ -225,6 +224,11 @@ extern rtems_shell_alias_t *rtems_shell_Initial_aliases[]; &rtems_shell_WDUMP_Command, #endif #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \ + !defined(CONFIGURE_SHELL_NO_COMMAND_LDUMP)) || \ + defined(CONFIGURE_SHELL_COMMAND_LDUMP) + &rtems_shell_LDUMP_Command, + #endif + #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \ !defined(CONFIGURE_SHELL_NO_COMMAND_MEDIT)) || \ defined(CONFIGURE_SHELL_COMMAND_MEDIT) &rtems_shell_MEDIT_Command, |