Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2010-02-19 20:55:27 +0300
committerChristopher Faylor <me@cgf.cx>2010-02-19 20:55:27 +0300
commitff3e6bcbec1aaff66a8480475baa35ffb18a0fea (patch)
tree21ef0c8e603da2d564e832c7ffc682453a93e6a7 /winsup/utils
parent6c36e83bab1daa032e567b7f9f8c2e063eaf5a20 (diff)
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')
-rw-r--r--winsup/utils/ChangeLog6
-rw-r--r--winsup/utils/strace.cc2
-rw-r--r--winsup/utils/utils.sgml1
3 files changed, 9 insertions, 0 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 345d3c3ea..6cab4c8a8 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,9 @@
+2010-02-19 Christopher Faylor <me+cygwin@cgf.cx>
+
+ * strace.cc (mnemonic_table): Add pthread mask option.
+ (usage): Document strace pthread mask option.
+ * utils.sgml: Ditto.
+
2010-02-19 Corinna Vinschen <corinna@vinschen.de>
* locale.cc (print_lc_mstrings): New function to print
diff --git a/winsup/utils/strace.cc b/winsup/utils/strace.cc
index f3acec68f..664eeb6c3 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\
diff --git a/winsup/utils/utils.sgml b/winsup/utils/utils.sgml
index fcd259a6d..b100d5047 100644
--- a/winsup/utils/utils.sgml
+++ b/winsup/utils/utils.sgml
@@ -1877,6 +1877,7 @@ Trace system calls and signals
wm 0x00400 (_STRACE_WM) Trace Windows msgs (enable _strace_wm).
sigp 0x00800 (_STRACE_SIGP) Trace signal and process handling.
minimal 0x01000 (_STRACE_MINIMAL) Very minimal strace output.
+ pthread 0x02000 (_STRACE_PTHREAD) Pthread calls.
exitdump 0x04000 (_STRACE_EXITDUMP) Dump strace cache on exit.
system 0x08000 (_STRACE_SYSTEM) Serious error; goes to console and log.
nomutex 0x10000 (_STRACE_NOMUTEX) Don't use mutex for synchronization.