aboutsummaryrefslogtreecommitdiff
path: root/debug/programs/infinite_loop.c
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2017-06-20 15:02:28 -0700
committerTim Newsome <tim@sifive.com>2017-06-20 15:02:28 -0700
commit9ff4594d26f485495f47d4473905af9c4f10caa8 (patch)
tree822f1c2355640dddb31d92e4e748008583ee12d1 /debug/programs/infinite_loop.c
parent9e313f30205b8172290831c3af18b0779e9b15f2 (diff)
downloadriscv-tests-9ff4594d26f485495f47d4473905af9c4f10caa8.zip
riscv-tests-9ff4594d26f485495f47d4473905af9c4f10caa8.tar.gz
riscv-tests-9ff4594d26f485495f47d4473905af9c4f10caa8.tar.bz2
Smoketest multicore.
When connecting to gdb, select a random thread and use that for the current test. Also replace infinite_loop with something that will later allow smoketesting of more than one thread.
Diffstat (limited to 'debug/programs/infinite_loop.c')
-rw-r--r--debug/programs/infinite_loop.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/debug/programs/infinite_loop.c b/debug/programs/infinite_loop.c
deleted file mode 100644
index 350d1de..0000000
--- a/debug/programs/infinite_loop.c
+++ /dev/null
@@ -1,9 +0,0 @@
-volatile int forever = 1;
-
-int main()
-{
- while (forever)
- ;
-
- return 1;
-}