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
Marcel Moolenaar
marcel at FreeBSD.org
Sun Sep 14 16:57:51 UTC 2008
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
More information about the cvs-src
mailing list