From owner-cvs-src@FreeBSD.ORG Sun Sep 14 16:57:51 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3131A106567A; Sun, 14 Sep 2008 16:57:51 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 02C428FC12; Sun, 14 Sep 2008 16:57:51 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m8EGvojN068853; Sun, 14 Sep 2008 16:57:50 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m8EGvoAb068848; Sun, 14 Sep 2008 16:57:50 GMT (envelope-from marcel@repoman.freebsd.org) Message-Id: <200809141657.m8EGvoAb068848@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marcel@repoman.freebsd.org using -f From: Marcel Moolenaar Date: Sun, 14 Sep 2008 16:52:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/gnu/usr.bin/gdb/libgdb fbsd-threads.c src/lib/libthread_db libpthread_db.c libthr_db.c thread_db.c thread_db.h thread_db_int.h src/sys/sys procfs.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2008 16:57:51 -0000 marcel 2008-09-14 16:52:42 UTC FreeBSD src repository Modified files: gnu/usr.bin/gdb/libgdb fbsd-threads.c lib/libthread_db libpthread_db.c libthr_db.c thread_db.c thread_db.h thread_db_int.h sys/sys procfs.h Log: SVN rev 183023 on 2008-09-14 16:52:42Z by marcel Widen psaddr_t from uintptr_t to uint64_t. This results in an ABI change on ILP32 platforms and relating to events. However it's harmless on little-endian ILP32 platforms in the sense that it doesn't cause breakages. Old ILP32 thread libraries write a 32-bit th_p and new thread libraries write a 64-bit th_p. But due to the fact that we have an unused 32-bit data field right after th_p and that field is always initialized to zero, little-endian ILP32 machines effectively have a valid 64-bit th_p by accident. Likewise for new thread libraries and old libthread_db: little endian ILP32 is unaffected. At this time we don't support big-endian threaded applications in GDB, so the breakage for the ILP32 case goes unnoticed. Revision Changes Path 1.18 +7 -6 src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c 1.20 +36 -57 src/lib/libthread_db/libpthread_db.c 1.16 +38 -52 src/lib/libthread_db/libthr_db.c 1.9 +13 -7 src/lib/libthread_db/thread_db.c 1.9 +1 -1 src/lib/libthread_db/thread_db.h 1.6 +6 -6 src/lib/libthread_db/thread_db_int.h 1.7 +1 -1 src/sys/sys/procfs.h