aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386fbsd-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-11-19 21:55:24 +0000
committerMark Kettenis <kettenis@gnu.org>2004-11-19 21:55:24 +0000
commit57ac95b8fc8d0d7de2809cdf56ea17777eba2942 (patch)
tree012a5fc6ddc2461cdc7ae46978c1df4de260762f /gdb/i386fbsd-nat.c
parent6b3221b47a7e47dc7d84cdb855b1e5328bc91a92 (diff)
downloadgdb-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.c2
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;