- fix missing argument

- expose struct lwp by #define _KMEMUSER
This commit is contained in:
christos 2011-09-25 20:25:08 +00:00
parent 2aaaf67e44
commit b5a43e29a1
1 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@
#include <paths.h>
#include "readline/readline.h"
#include <sys/param.h>
#define _KMEMUSER
#include <sys/proc.h>
#include <sys/user.h>
@ -238,7 +239,7 @@ bsd_kvm_fetch_registers (struct target_ops *ops,
if (kvm_read (core_kd, nl[0].n_value, &paddr, sizeof paddr) == -1)
error (("%s"), kvm_geterr (core_kd));
bsd_kvm_fetch_pcb (paddr);
bsd_kvm_fetch_pcb (regcache, paddr);
return;
}
#endif