Fixes to thread_db support for FreeBSD
authorDan McNulty <mcnulty@cs.wisc.edu>
Tue, 8 Mar 2011 15:21:29 +0000 (09:21 -0600)
committerDan McNulty <mcnulty@cs.wisc.edu>
Tue, 8 Mar 2011 15:21:29 +0000 (09:21 -0600)
commit75003d2cff66b3dbe575644fdf1516ca2c2539ef
treea1bba8c3c408dae2810dbb797459133b2ffb0116
parent0517da97fca6b0c475cbbe2cae3c18b90835217f
Fixes to thread_db support for FreeBSD

The most recent set of changes to the thread_db integration did not
work on FreeBSD. This commit fixes these bugs.

The biggest change is that FreeBSD needs to use PT_RESUME and PT_SUSPEND
to change the running state of threads once a process is stopped.

Also includes some changes to the thread test to account for a
difference in thread events and information available on FreeBSD.
14 files changed:
common/src/addrtranslate-sysv.C
dyninstAPI/src/pcProcess-x86.C [new file with mode: 0644]
dyninstAPI/src/syscall-freebsd.C [new file with mode: 0644]
dyninstAPI/src/syscallNotification.C [new file with mode: 0644]
proccontrol/src/freebsd.C
proccontrol/src/freebsd.h
proccontrol/src/handler.C
proccontrol/src/int_thread_db.C
proccontrol/src/int_thread_db.h
proccontrol/src/response.C
testsuite/amd64-unknown-freebsd7.2/Makefile
testsuite/make.module.tmpl
testsuite/src/proccontrol/pc_thread.C
testsuite/src/proccontrol/pc_thread_mutatee.c