shithub: riscv

Download patch

ref: 889afd97de23422819168e94bab43537fe404d00
parent: 4ad63a4c561b2eb4c759da5f29648a499c659c9e
author: Aram Hăvărneanu <[email protected]>
date: Tue Jul 1 07:20:55 EDT 2014

acid: fix notestk() on amd64

Use Ureg->pc instead of Ureg->ir.

--- a/sys/lib/acid/amd64
+++ b/sys/lib/acid/amd64
@@ -153,7 +153,7 @@
 	'u' 126 gs;
 	'W' 128 type;
 	'W' 136 error;
-	'W' 144 ip;
+	'W' 144 pc;
 	'W' 152 cs;
 	'W' 160 flags;
 	'W' 168 sp;
@@ -184,7 +184,7 @@
 	print("	gs	", addr.gs, "\n");
 	print("	type	", addr.type, "\n");
 	print("	error	", addr.error, "\n");
-	print("	ip	", addr.ip, "\n");
+	print("	pc	", addr.pc, "\n");
 	print("	cs	", addr.cs, "\n");
 	print("	flags	", addr.flags, "\n");
 	print("	sp	", addr.sp, "\n");