forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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).
|
||||
|
||||
@@ -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))
|
||||
{
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user