aboutsummaryrefslogtreecommitdiff
path: root/debug/programs
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2022-12-28 16:49:13 -0800
committerTim Newsome <tim@sifive.com>2022-12-29 10:55:18 -0800
commitcbe0dd1405cd2f33ef1cbbc67eda73bfe65d067e (patch)
treec372611f94c66180c6157c1fc4b470d47c390b5f /debug/programs
parent48491dadafcd59442c5bf22603fb0a7f1c589cb9 (diff)
downloadriscv-tests-cbe0dd1405cd2f33ef1cbbc67eda73bfe65d067e.zip
riscv-tests-cbe0dd1405cd2f33ef1cbbc67eda73bfe65d067e.tar.gz
riscv-tests-cbe0dd1405cd2f33ef1cbbc67eda73bfe65d067e.tar.bz2
debug: Add etrigger test.
Diffstat (limited to 'debug/programs')
-rw-r--r--debug/programs/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/programs/debug.c b/debug/programs/debug.c
index 641aa4e..a5693a5 100644
--- a/debug/programs/debug.c
+++ b/debug/programs/debug.c
@@ -53,7 +53,7 @@ int main()
volatile int i = 0;
int j = 0;
- char fox[] = "The quick brown fox jumps of the lazy dog.";
+ char *fox = "The quick brown fox jumps of the lazy dog.";
unsigned int checksum = 0;
volatile uint32_t i32 = 0xdeadbeef;
volatile uint64_t i64 = 0x1122334455667788;