mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 10:00:51 +00:00
* bsd-kvm.c (bsd_kvm_pcb_cmd): Cast return value from
parse_and_eval_address to u_long before converting it to a pointer type. * i386fbsd-nat.c (_initialize_i386fbsd_nat): Change type of ps_strings from int to u_long. * i386obsd-nat.c (_initialize_i386obsd_nat): Cast _ps.val to u_long instead of CORE_ADDR.
This commit is contained in:
@@ -143,7 +143,7 @@ _initialize_i386fbsd_nat (void)
|
||||
#ifdef KERN_PS_STRINGS
|
||||
{
|
||||
int mib[2];
|
||||
int ps_strings;
|
||||
u_long ps_strings;
|
||||
size_t len;
|
||||
|
||||
mib[0] = CTL_KERN;
|
||||
|
||||
Reference in New Issue
Block a user