ref: 672da0025e401e98359b1c04fcaa0e1b79e9073c
parent: 8303828cb0ca3f1ee96ef3047dc8d7fdcd00696b
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Feb 2 00:49:30 EST 2014
pc64: print only 8 hex chars dumpstack sp/pc kernel addresses are sign extended to 64 bit. upper bits are not really helpfull.
--- a/sys/src/9/pc64/trap.c
+++ b/sys/src/9/pc64/trap.c
@@ -571,7 +571,7 @@
* (((uchar*)v)[-2] == 0xFF && ((uchar*)v)[-2] == 0xD0),
* but this is too clever and misses faulting address.
*/
- x += iprint("%.8p=%.8p ", l, v);+ x += iprint("%.8lux=%.8lux ", (ulong)l, (ulong)v);i++;
}
if(i == 4){--
⑨