aboutsummaryrefslogtreecommitdiff
path: root/winsup/utils/strace.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2010-02-19 17:55:27 +0000
committerChristopher Faylor <me@cgf.cx>2010-02-19 17:55:27 +0000
commitff3e6bcbec1aaff66a8480475baa35ffb18a0fea (patch)
tree21ef0c8e603da2d564e832c7ffc682453a93e6a7 /winsup/utils/strace.cc
parent6c36e83bab1daa032e567b7f9f8c2e063eaf5a20 (diff)
downloadnewlib-ff3e6bcbec1aaff66a8480475baa35ffb18a0fea.zip
newlib-ff3e6bcbec1aaff66a8480475baa35ffb18a0fea.tar.gz
newlib-ff3e6bcbec1aaff66a8480475baa35ffb18a0fea.tar.bz2
utils/ChangeLog:
* strace.cc (mnemonic_table): Add pthread mask option. (usage): Document strace pthread mask option. * utils.sgml: Ditto. cygwin/ChangeLog: * include/sys/strace.h: Remove old code. Add support for ptrace tracing.
Diffstat (limited to 'winsup/utils/strace.cc')
-rw-r--r--winsup/utils/strace.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/utils/strace.cc b/winsup/utils/strace.cc
index f3acec6..664eeb6 100644
--- a/winsup/utils/strace.cc
+++ b/winsup/utils/strace.cc
@@ -731,6 +731,7 @@ static const mask_mnemonic mnemonic_table[] = {
{_STRACE_NOMUTEX, "nomutex"},
{_STRACE_MALLOC, "malloc"},
{_STRACE_THREAD, "thread"},
+ {_STRACE_PTHREAD, "pthread"},
{0, NULL}
};
@@ -872,6 +873,7 @@ Trace system calls and signals\n\
wm 0x00400 (_STRACE_WM) Trace Windows msgs (enable _strace_wm).\n\
sigp 0x00800 (_STRACE_SIGP) Trace signal and process handling.\n\
minimal 0x01000 (_STRACE_MINIMAL) Very minimal strace output.\n\
+ pthread 0x02000 (_STRACE_PTHREAD) Pthread calls.\n\
exitdump 0x04000 (_STRACE_EXITDUMP) Dump strace cache on exit.\n\
system 0x08000 (_STRACE_SYSTEM) Serious error; goes to console and log.\n\
nomutex 0x10000 (_STRACE_NOMUTEX) Don't use mutex for synchronization.\n\