pc64: print only 8 hex chars dumpstack sp/pc
kernel addresses are sign extended to 64 bit. upper bits are not really helpfull.
This commit is contained in:
parent
a6fd3cc8e3
commit
47f551bcea
1 changed files with 1 additions and 1 deletions
|
@ -571,7 +571,7 @@ _dumpstack(Ureg *ureg)
|
|||
* (((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){
|
||||
|
|
Loading…
Reference in a new issue