debug: Don't halt out of reset. It's unrealistic. Use a program which loops (actually...
[riscv-tests.git] / debug / programs / infinite_loop.c
1 #include <stdio.h>
2 #include <string.h>
3 #include <stdint.h>
4 #include <stdlib.h>
5
6
7 int main()
8 {
9
10 volatile int forever = 1;
11 while (forever);
12
13 return 1;
14 }