aboutsummaryrefslogtreecommitdiff
path: root/gdb/bsd-kvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/bsd-kvm.c')
-rw-r--r--gdb/bsd-kvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c
index 818a588..e561b24 100644
--- a/gdb/bsd-kvm.c
+++ b/gdb/bsd-kvm.c
@@ -259,7 +259,7 @@ bsd_kvm_pcb_cmd (char *arg, int fromtty)
if (core_kd == NULL)
error ("No kernel memory image.");
- bsd_kvm_paddr = (struct pcb *) parse_and_eval_address (arg);
+ bsd_kvm_paddr = (struct pcb *)(u_long) parse_and_eval_address (arg);
target_fetch_registers (-1);