shithub: riscv

Download patch

ref: f308677510f208a3017f5169f80bb541acbd32c3
parent: 2fda77e404ab5cd8fdc0ef906fac87d53f9301b9
author: BurnZeZ <[email protected]>
date: Thu May 11 15:34:54 EDT 2017

/sys/lib/acid/port: make line() also print the line number

--- a/sys/lib/acid/port
+++ b/sys/lib/acid/port
@@ -154,7 +154,7 @@
 		return {};
 	}
 	line = pcline(addr)-1;
-	print(file, ":", src[line], "\n");
+	print(file, ":", line+1, ":", src[line], "\n");
 }
 
 defn addsrcdir(dir)