mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
libmach: Fix type errors in FreeBSD.c
The ptrace handlers wanted to take u64int arguments, not ulong. Signed-off-by: Dan Cross <cross@gajendra.net>
This commit is contained in:
parent
fe2b2de984
commit
d46053106d
1 changed files with 4 additions and 4 deletions
|
@ -30,8 +30,8 @@ struct PtraceRegs
|
|||
int pid;
|
||||
};
|
||||
|
||||
static int ptracerw(Map*, Seg*, ulong, void*, uint, int);
|
||||
static int ptraceregrw(Regs*, char*, ulong*, int);
|
||||
static int ptracerw(Map*, Seg*, u64int, void*, uint, int);
|
||||
static int ptraceregrw(Regs*, char*, u64int*, int);
|
||||
|
||||
void
|
||||
unmapproc(Map *map)
|
||||
|
@ -92,7 +92,7 @@ detachproc(int pid)
|
|||
}
|
||||
|
||||
static int
|
||||
ptracerw(Map *map, Seg *seg, ulong addr, void *v, uint n, int isr)
|
||||
ptracerw(Map *map, Seg *seg, u64int addr, void *v, uint n, int isr)
|
||||
{
|
||||
int i;
|
||||
u32int u;
|
||||
|
@ -167,7 +167,7 @@ reg2freebsd(char *reg)
|
|||
}
|
||||
|
||||
static int
|
||||
ptraceregrw(Regs *regs, char *name, ulong *val, int isr)
|
||||
ptraceregrw(Regs *regs, char *name, u64int *val, int isr)
|
||||
{
|
||||
int pid;
|
||||
ulong addr;
|
||||
|
|
Loading…
Reference in a new issue