summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authorAram Hăvărneanu <aram@mgk.ro>2014-07-01 11:20:55 +0200
committerAram Hăvărneanu <aram@mgk.ro>2014-07-01 11:20:55 +0200
commit889afd97de23422819168e94bab43537fe404d00 (patch)
tree6edaa08bf09454df8b75f5dd0e4444a0ff9eb96c /sys/lib
parent4ad63a4c561b2eb4c759da5f29648a499c659c9e (diff)
acid: fix notestk() on amd64
Use Ureg->pc instead of Ureg->ir.
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/acid/amd644
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/acid/amd64 b/sys/lib/acid/amd64
index 20ea4b441..7d7ce4ba7 100644
--- a/sys/lib/acid/amd64
+++ b/sys/lib/acid/amd64
@@ -153,7 +153,7 @@ aggr Ureg
'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 @@ Ureg(addr) {
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");