This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix sigtramp start and endpoint detection for FreeBSD/amd64
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 15 Sep 2003 22:06:01 +0200 (CEST)
- Subject: [PATCH] Fix sigtramp start and endpoint detection for FreeBSD/amd64
FreeBSD/amd64 is 64-bit and an int isn't.
Committed.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of
ps_strings into a long.
Index: amd64fbsd-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/amd64fbsd-nat.c,v
retrieving revision 1.5
diff -u -p -r1.5 amd64fbsd-nat.c
--- amd64fbsd-nat.c 15 Sep 2003 19:30:50 -0000 1.5
+++ amd64fbsd-nat.c 15 Sep 2003 20:04:28 -0000
@@ -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;