OSDN Git Service

* strace.cc (strace::hello): Set inited, when appropriate.
authorcgf <cgf>
Thu, 6 Jun 2002 01:26:32 +0000 (01:26 +0000)
committercgf <cgf>
Thu, 6 Jun 2002 01:26:32 +0000 (01:26 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/Makefile.in
winsup/cygwin/strace.cc

index 45de9f8..e70b817 100644 (file)
@@ -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.
index 6b59ed8..420ac8d 100644 (file)
@@ -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
 
index 64a9cbc..f0eb799 100644 (file)
@@ -37,6 +37,7 @@ strace::hello()
       return;
     }
 
+  inited = 1;
   if (!being_debugged ())
     return;