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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [gdb/] [testsuite/] [gdb.mi/] [testcmds] - Rev 227

Compare with Previous | Blame | View Log

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

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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