summaryrefslogtreecommitdiffstats
path: root/c/src/libmisc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-05-01 22:33:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-05-01 22:33:52 +0000
commit80fe968c129b521155c031989b5bb3e4f703f886 (patch)
tree16e9c4ae3343f78e38ed9cd0ac13395c3c158394 /c/src/libmisc
parent2002-04-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-80fe968c129b521155c031989b5bb3e4f703f886.tar.bz2
2002-03-20 Chris Johns <ccj@acm.org>
* monitor/mon-command.c: Per PR192 the RTEMS monitor makes everything lowercase. The capture engine need to set triggers or watches on task with uppercase names. Also stop the monitor repeating command when enter is pressed.
Diffstat (limited to 'c/src/libmisc')
-rw-r--r--c/src/libmisc/ChangeLog7
-rw-r--r--c/src/libmisc/monitor/mon-command.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/c/src/libmisc/ChangeLog b/c/src/libmisc/ChangeLog
index e526048dbd..75fac524c0 100644
--- a/c/src/libmisc/ChangeLog
+++ b/c/src/libmisc/ChangeLog
@@ -1,3 +1,10 @@
+2002-03-20 Chris Johns <ccj@acm.org>
+
+ * monitor/mon-command.c: Per PR192 the RTEMS monitor makes everything
+ lowercase. The capture engine need to set triggers or watches on task
+ with uppercase names.
+ Also stop the monitor repeating command when enter is pressed.
+
2002-04-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* monitor/mon-monitor.c: Replace done with return (gcc3).
diff --git a/c/src/libmisc/monitor/mon-command.c b/c/src/libmisc/monitor/mon-command.c
index 3bd76467c8..6ccaae6b08 100644
--- a/c/src/libmisc/monitor/mon-command.c
+++ b/c/src/libmisc/monitor/mon-command.c
@@ -394,9 +394,11 @@ rtems_monitor_line_editor (
}
else
{
+#ifdef ENABLE_ENTER_REPEATS
if (history_next)
memcpy (buffer, history_buffer[history_next - 1],
RTEMS_COMMAND_BUFFER_SIZE);
+#endif
}
memmove (command, buffer, RTEMS_COMMAND_BUFFER_SIZE);
return repeating;
@@ -407,8 +409,6 @@ rtems_monitor_line_editor (
(c >= ' ') && (c <= 'z'))
{
int end;
- if (c >= 'A' && c <= 'Z')
- c += 'a' - 'A';
end = strlen (buffer);
if ((pos < end) && (end < RTEMS_COMMAND_BUFFER_SIZE))
{