aboutsummaryrefslogtreecommitdiff
path: root/winsup/utils/strace.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-02-21 04:51:15 +0000
committerChristopher Faylor <me@cgf.cx>2004-02-21 04:51:15 +0000
commit7c03f79971ed1e8ab3ad8818747444b60ed8cd38 (patch)
tree01a3302b4b3af940a5739a40c488f57ed4613e4a /winsup/utils/strace.cc
parent3a0f12b5885fa877c3365ef0ff114346f21ce92c (diff)
downloadnewlib-7c03f79971ed1e8ab3ad8818747444b60ed8cd38.zip
newlib-7c03f79971ed1e8ab3ad8818747444b60ed8cd38.tar.gz
newlib-7c03f79971ed1e8ab3ad8818747444b60ed8cd38.tar.bz2
* Makefile.in (build_dumper): Detect missing iconv library.
* cygpath.cc (dowin): Report on filename conversion errors. (doit): Ditto. * strace.cc (main): Use symbolic constant for _STRACE_ALL when setting mask.
Diffstat (limited to 'winsup/utils/strace.cc')
-rw-r--r--winsup/utils/strace.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/utils/strace.cc b/winsup/utils/strace.cc
index 633aa55..2d16b69 100644
--- a/winsup/utils/strace.cc
+++ b/winsup/utils/strace.cc
@@ -985,7 +985,7 @@ character #%d.\n", optarg, (int) (endptr - optarg), endptr);
error (0, "must provide a process id to toggle tracing");
if (!mask)
- mask = 1;
+ mask = _STRACE_ALL;
if (bufsize)
setvbuf (ofile, (char *) alloca (bufsize), _IOFBF, bufsize);