OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gdb-6.8/] [pre-binutils-2.20.1-sync/] [gdb/] [testsuite/] [gdb.mi/] [testcmds] - Diff between revs 157 and 223

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 157 Rev 223
# This is a (bogus) sample user command built to test the printing
# This is a (bogus) sample user command built to test the printing
# of commands.
# of commands.
define test
define test
set $a = 1
set $a = 1
set $b = 2
set $b = 2
if ($a > $b)
if ($a > $b)
 set $a = 1
 set $a = 1
 set $b = 2
 set $b = 2
 while ($a > $b)
 while ($a > $b)
  set $a = 1
  set $a = 1
  set $b = 2
  set $b = 2
 end
 end
else
else
 set $a = 1
 set $a = 1
 set $b = 2
 set $b = 2
end
end
while ($a < $b)
while ($a < $b)
 set $a = $a + 1
 set $a = $a + 1
 set $c = $a
 set $c = $a
 if ($a = $b)
 if ($a = $b)
  set $c = 5
  set $c = 5
 end
 end
 set $a = 1
 set $a = 1
 set $b = 2
 set $b = 2
end
end
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.