aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-09-15 20:05:17 +0000
committerMark Kettenis <kettenis@gnu.org>2003-09-15 20:05:17 +0000
commitde5227fb84e6f049212c317be32343ff86c29611 (patch)
treead79f8ff33c9bf4dcafdbb5a851ebbad08adb8f6
parent1c6713668acbef1a6d5b9f158665b5026cc31f72 (diff)
downloadgdb-de5227fb84e6f049212c317be32343ff86c29611.zip
gdb-de5227fb84e6f049212c317be32343ff86c29611.tar.gz
gdb-de5227fb84e6f049212c317be32343ff86c29611.tar.bz2
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of
ps_strings into a long.
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/amd64fbsd-nat.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index febc8f0..806cc60 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2003-09-15 Mark Kettenis <kettenis@gnu.org>
+ * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of
+ ps_strings into a long.
+
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename from
_initialize_am64fbsd_nat.
diff --git a/gdb/amd64fbsd-nat.c b/gdb/amd64fbsd-nat.c
index de13f18..ed2d39b 100644
--- a/gdb/amd64fbsd-nat.c
+++ b/gdb/amd64fbsd-nat.c
@@ -289,7 +289,7 @@ Please report this to <bug-gdb@gnu.org>.",
environment can be found. */
{
int mib[2];
- int ps_strings;
+ long ps_strings;
size_t len;
mib[0] = CTL_KERN;