diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-06 01:26:33 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-06 01:26:33 +0000 |
commit | 58fcd93ae3ac0bdedac938bf42b3861b3577e926 (patch) | |
tree | 1361518fcc5eab54d029345f0fae7e3a7706abf2 /winsup | |
parent | c240a7fcdec6c70a8e259aa7127774708658c7e3 (diff) | |
download | cygnal-58fcd93ae3ac0bdedac938bf42b3861b3577e926.tar.gz cygnal-58fcd93ae3ac0bdedac938bf42b3861b3577e926.tar.bz2 cygnal-58fcd93ae3ac0bdedac938bf42b3861b3577e926.zip |
* strace.cc (strace::hello): Set inited, when appropriate.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/Makefile.in | 4 | ||||
-rw-r--r-- | winsup/cygwin/strace.cc | 1 |
3 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 45de9f84c..e70b81767 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 2002-06-05 Christopher Faylor <cgf@redhat.com> + * strace.cc (strace::hello): Set inited, when appropriate. + +2002-06-05 Christopher Faylor <cgf@redhat.com> + * cygwin.din: Eliminate some newlib wrappers. * path.cc (get_devn): Only consider first 99 potential com devices. (get_device_number): Ditto. diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index 6b59ed82c..420ac8daf 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -276,10 +276,10 @@ version.cc winver.o: winver_stamp @ : shared_info_magic.h: cygmagic shared_info.h - /bin/sh ${word 1,$^} $@ "$(CC)" ${word 2,$^} MOUNT_MAGIC 'class mount_info' SHARED_MAGIC 'class shared_info' + /bin/sh ${word 1,$^} $@ "$(CXX) -x c++" ${word 2,$^} MOUNT_MAGIC 'class mount_info' SHARED_MAGIC 'class shared_info' child_info_magic.h: cygmagic child_info.h - /bin/sh ${word 1,$^} $@ "$(CC)" ${word 2,$^} CHILD_INFO_MAGIC 'class child_info' + /bin/sh ${word 1,$^} $@ "$(CXX) -x c++" ${word 2,$^} CHILD_INFO_MAGIC 'class child_info' dcrt0.o sigproc.o: child_info_magic.h diff --git a/winsup/cygwin/strace.cc b/winsup/cygwin/strace.cc index 64a9cbc7c..f0eb799da 100644 --- a/winsup/cygwin/strace.cc +++ b/winsup/cygwin/strace.cc @@ -37,6 +37,7 @@ strace::hello() return; } + inited = 1; if (!being_debugged ()) return; |