snap: change ulong return of stackptr() to uvlong for amd64
This commit is contained in:
parent
752841fcc1
commit
c1dc5d15c3
1 changed files with 2 additions and 3 deletions
|
@ -144,7 +144,7 @@ Die:
|
|||
}
|
||||
|
||||
/* discover the stack pointer of the given process */
|
||||
ulong
|
||||
uvlong
|
||||
stackptr(Proc *proc, int fd)
|
||||
{
|
||||
char *q;
|
||||
|
@ -202,8 +202,7 @@ snap(long pid, int usetext)
|
|||
Seg **s;
|
||||
char *name, *segdat, *q, *f[128+1], buf[128];
|
||||
int fd, i, stacki, nf, np;
|
||||
uvlong off, len, stackoff, stacklen;
|
||||
uvlong sp;
|
||||
uvlong off, len, stackoff, stacklen, sp;
|
||||
|
||||
proc = emalloc(sizeof(*proc));
|
||||
proc->pid = pid;
|
||||
|
|
Loading…
Reference in a new issue