summaryrefslogtreecommitdiffstats
path: root/contrib/gdb
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2007-11-14 22:58:36 +0000
committerobrien <obrien@FreeBSD.org>2007-11-14 22:58:36 +0000
commitab64c505c76162798ce695caa0ff64c184b10a88 (patch)
tree14f18e471056e84d1979e9922ba7dd4858ac9413 /contrib/gdb
parent667272457b63f38c49995460174a5c9e9260141e (diff)
downloadFreeBSD-src-ab64c505c76162798ce695caa0ff64c184b10a88.zip
FreeBSD-src-ab64c505c76162798ce695caa0ff64c184b10a88.tar.gz
Bring in FSF revision 1.9 (Change type of ps_strings from int to u_long).
This fixes a situation where GDB gives incorrect backtraces when a signal handler is in the call chain. Submitted by: Stu Grossman <grossman@juniper.net>
Diffstat (limited to 'contrib/gdb')
-rw-r--r--contrib/gdb/gdb/i386fbsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gdb/gdb/i386fbsd-nat.c b/contrib/gdb/gdb/i386fbsd-nat.c
index efc61b6..c479986 100644
--- a/contrib/gdb/gdb/i386fbsd-nat.c
+++ b/contrib/gdb/gdb/i386fbsd-nat.c
@@ -91,7 +91,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;
OpenPOWER on IntegriCloud