diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-09-22 13:14:26 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-09-22 13:14:26 +0000 |
commit | c6d35fa59f75ace288116fd2fb800134ef95741e (patch) | |
tree | 47c2783ec1c1e930da10159adf82e52b31142147 /cpukit/libmisc/monitor/mon-monitor.c | |
parent | 2003-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-c6d35fa59f75ace288116fd2fb800134ef95741e.tar.bz2 |
2003-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* monitor/monitor.h:
Add rtems_monitor_commands[] (Illegally applied by shell/).
Remove ifdef(__mips64) (Make broken code visible again).
* monitor/mon-command.c: Add several ifndef RTEMS_UNIX to avoid
warnings.
* monitor/mon-monitor.c: Remove RTEMS_CPU_HAS_16_BIT_ADDRESSES (Make
broken code visible again).
* shell/cmds.c: Remove local decls of rtems_monitor_commands[].
Diffstat (limited to 'cpukit/libmisc/monitor/mon-monitor.c')
-rw-r--r-- | cpukit/libmisc/monitor/mon-monitor.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/cpukit/libmisc/monitor/mon-monitor.c b/cpukit/libmisc/monitor/mon-monitor.c index 6a5d9a5af8..52d588e82f 100644 --- a/cpukit/libmisc/monitor/mon-monitor.c +++ b/cpukit/libmisc/monitor/mon-monitor.c @@ -130,11 +130,7 @@ rtems_monitor_command_entry_t rtems_monitor_commands[] = { " symbol [ symbolname [symbolname ... ] ]", 0, rtems_monitor_symbol_cmd, -#if defined(RTEMS_CPU_HAS_16_BIT_ADDRESSES) - 0, /* XXX find a way to fix the compile time error on h8 */ -#else (rtems_monitor_command_arg_t) &rtems_monitor_symbols, -#endif &rtems_monitor_commands[8], }, { "extension", @@ -219,11 +215,7 @@ rtems_monitor_command_entry_t rtems_monitor_commands[] = { "help [ command [ command ] ]", 0, rtems_monitor_help_cmd, -#if defined(RTEMS_CPU_HAS_16_BIT_ADDRESSES) - 0, /* XXX find a way to fix the compile time error on h8 */ -#else (rtems_monitor_command_arg_t) rtems_monitor_commands, -#endif &rtems_monitor_commands[18], }, #ifdef CPU_INVOKE_DEBUGGER @@ -522,7 +514,7 @@ rtems_monitor_task( debugee = _Thread_Executing; rp = &debugee->Registers; #if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE) - fp = (rtems_context_fp *) debugee->fp_context; /* possibly 0 */ + fp = debugee->fp_context; /* possibly 0 */ #else fp = 0; #endif |