diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-11-19 21:55:24 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-11-19 21:55:24 +0000 |
commit | 57ac95b8fc8d0d7de2809cdf56ea17777eba2942 (patch) | |
tree | 012a5fc6ddc2461cdc7ae46978c1df4de260762f /gdb/i386fbsd-nat.c | |
parent | 6b3221b47a7e47dc7d84cdb855b1e5328bc91a92 (diff) | |
download | gdb-57ac95b8fc8d0d7de2809cdf56ea17777eba2942.zip gdb-57ac95b8fc8d0d7de2809cdf56ea17777eba2942.tar.gz gdb-57ac95b8fc8d0d7de2809cdf56ea17777eba2942.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/i386fbsd-nat.c')
-rw-r--r-- | gdb/i386fbsd-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386fbsd-nat.c b/gdb/i386fbsd-nat.c index bf4bd94..29a02f0 100644 --- a/gdb/i386fbsd-nat.c +++ b/gdb/i386fbsd-nat.c @@ -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; |