Re: svn commit: r224683 - head/lib/libthread_db

2011-08-06 Thread Marcel Moolenaar
On Aug 6, 2011, at 4:24 PM, Marius Strobl wrote: > On Sun, Aug 07, 2011 at 01:06:48AM +0300, Andriy Gapon wrote: >> on 07/08/2011 00:41 Garrett Cooper said the following: >>> It's not just i386. It's other architectures like arm, mips, and pc98 >>> according to the tinderbox reports (this list is

svn commit: r224689 - head/sys/vm

2011-08-06 Thread Alan Cox
Author: alc Date: Sun Aug 7 00:11:39 2011 New Revision: 224689 URL: http://svn.freebsd.org/changeset/base/224689 Log: Fix an error in kmem_alloc_attr(). Unless "tries" is updated, kmem_alloc_attr() could get stuck in a loop. Approved by: re (kib) MFC after:3 days Modified: hea

Re: svn commit: r224683 - head/lib/libthread_db

2011-08-06 Thread Marius Strobl
On Sun, Aug 07, 2011 at 01:06:48AM +0300, Andriy Gapon wrote: > on 07/08/2011 00:41 Garrett Cooper said the following: > > It's not just i386. It's other architectures like arm, mips, and pc98 > > according to the tinderbox reports (this list is potentially > > incomplete). > > Yeah, confusingly e

Re: svn commit: r224683 - head/lib/libthread_db

2011-08-06 Thread Garrett Cooper
On Sat, Aug 6, 2011 at 1:34 PM, Ruslan Mahmatkhanov wrote: > Marius Strobl wrote on 06.08.2011 21:48: >> >> Author: marius >> Date: Sat Aug  6 17:48:30 2011 >> New Revision: 224683 >> URL: http://svn.freebsd.org/changeset/base/224683 >> >> Log: >>   The tid member of struct pthread actually is lon

Re: svn commit: r224683 - head/lib/libthread_db

2011-08-06 Thread Andriy Gapon
on 07/08/2011 00:41 Garrett Cooper said the following: > It's not just i386. It's other architectures like arm, mips, and pc98 > according to the tinderbox reports (this list is potentially > incomplete). Yeah, confusingly enough thr_pread_long() is declared to take uint64_t* as its third argument

Re: svn commit: r224683 - head/lib/libthread_db

2011-08-06 Thread Ruslan Mahmatkhanov
Marius Strobl wrote on 06.08.2011 21:48: Author: marius Date: Sat Aug 6 17:48:30 2011 New Revision: 224683 URL: http://svn.freebsd.org/changeset/base/224683 Log: The tid member of struct pthread actually is long so read it as such. Accessing it as an int causes failure on big-endian LP64,

svn commit: r224688 - head/tools/regression/netinet/tcpdrop

2011-08-06 Thread Robert Watson
Author: rwatson Date: Sat Aug 6 19:20:17 2011 New Revision: 224688 URL: http://svn.freebsd.org/changeset/base/224688 Log: Properly initialise the "len" argument to getsockname(2) in the tcpdrop regression test so that it works (more) consistently. Approved by: re (bz) Sponsored by: Ju

svn commit: r224687 - head/gnu/usr.bin/gdb/arch/sparc64

2011-08-06 Thread Marius Strobl
Author: marius Date: Sat Aug 6 17:53:45 2011 New Revision: 224687 URL: http://svn.freebsd.org/changeset/base/224687 Log: Compile fbsd-threads.c. Amongst others this is necessary for a working kgdb(1). Reviewed by: marcel Approved by: re (kib) MFC after:1 week Modified: head/

svn commit: r224686 - in head/contrib/gdb: . gdb

2011-08-06 Thread Marius Strobl
Author: marius Date: Sat Aug 6 17:52:25 2011 New Revision: 224686 URL: http://svn.freebsd.org/changeset/base/224686 Log: Implement functions necessary for compiling fbsd-threads.c. Reviewed by: marcel Approved by: re (kib) MFC after:1 week Modified: head/contrib/gdb/FREEBSD-di

svn commit: r224685 - head/lib/libthread_db/arch/sparc64

2011-08-06 Thread Marius Strobl
Author: marius Date: Sat Aug 6 17:50:37 2011 New Revision: 224685 URL: http://svn.freebsd.org/changeset/base/224685 Log: Implement Reviewed by: marcel Approved by: re (kib) MFC after:1 week Modified: head/lib/libthread_db/arch/sparc64/libpthread_md.c Modified: head/lib/libthr

svn commit: r224684 - head/lib/libthread_db/arch/amd64

2011-08-06 Thread Marius Strobl
Author: marius Date: Sat Aug 6 17:49:21 2011 New Revision: 224684 URL: http://svn.freebsd.org/changeset/base/224684 Log: Use the size of struct fpreg rather than of the pointer to it when copying the FPU state. Reviewed by: marcel Approved by: re (kib) MFC after:1 week Modifie

svn commit: r224683 - head/lib/libthread_db

2011-08-06 Thread Marius Strobl
Author: marius Date: Sat Aug 6 17:48:30 2011 New Revision: 224683 URL: http://svn.freebsd.org/changeset/base/224683 Log: The tid member of struct pthread actually is long so read it as such. Accessing it as an int causes failure on big-endian LP64, i.e. mips64be, powerpc64 and sparc64.

svn commit: r224682 - head/sys/sparc64/sparc64

2011-08-06 Thread Marius Strobl
Author: marius Date: Sat Aug 6 17:45:52 2011 New Revision: 224682 URL: http://svn.freebsd.org/changeset/base/224682 Log: - Merge from r147740: When the last, possibly partially filled buffer is flushed, we didn't reset fragsz to 0 and as such would stop reflecting reality. - Use __FBS

svn commit: r224681 - head/sys/sparc64/sparc64

2011-08-06 Thread Marius Strobl
Author: marius Date: Sat Aug 6 17:45:11 2011 New Revision: 224681 URL: http://svn.freebsd.org/changeset/base/224681 Log: Remove a shortcut which is invalid with MAXCPU > IDR_CHEETAH_MAX_BN_PAIRS. Approved by: re (kib) Modified: head/sys/sparc64/sparc64/mp_machdep.c Modified: head/sys/

svn commit: r224680 - head/lib/libkvm

2011-08-06 Thread Marcel Moolenaar
Author: marcel Date: Sat Aug 6 15:59:54 2011 New Revision: 224680 URL: http://svn.freebsd.org/changeset/base/224680 Log: Add support for PBVM addresses. In a nutshell this means: o get the physical address and size of the PBVM page table. This can be found in the bootinfo structure, o

svn commit: r224674 - head/etc

2011-08-06 Thread Doug Barton
Author: dougb Date: Sat Aug 6 09:16:53 2011 New Revision: 224674 URL: http://svn.freebsd.org/changeset/base/224674 Log: Rather than edit the nsswitch.conf file based on ${MK_NIS} == "no" comment out the NIS _compat options by default, but leave them in the file for the convenience of users

svn commit: r224673 - head/sbin/rcorder

2011-08-06 Thread Doug Barton
Author: dougb Date: Sat Aug 6 09:13:09 2011 New Revision: 224673 URL: http://svn.freebsd.org/changeset/base/224673 Log: Gavin documented these alternate options in good faith in r222751 based on the patch in the PR, however he was unaware that they were undocumented intentionally. This patc

svn commit: r224672 - head/usr.sbin/service

2011-08-06 Thread Doug Barton
Author: dougb Date: Sat Aug 6 09:11:30 2011 New Revision: 224672 URL: http://svn.freebsd.org/changeset/base/224672 Log: Fix a silly typo on my part. Approved by: re (hrs) Modified: head/usr.sbin/service/service.8 Modified: head/usr.sbin/service/service.8 ==