diff options
author | Christopher Faylor <me@cgf.cx> | 2002-01-29 02:02:03 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-01-29 02:02:03 +0000 |
commit | 494a66d9c5799091ccefcfd2f3d22226b16f4c38 (patch) | |
tree | bbcd6f02ad3860e2cfb35b6065c2beec2bfd5e88 /winsup/cygwin/include/sys/strace.h | |
parent | a489b37643af9b02d8a31b0e584713f90bbd9ba7 (diff) | |
download | cygnal-494a66d9c5799091ccefcfd2f3d22226b16f4c38.tar.gz cygnal-494a66d9c5799091ccefcfd2f3d22226b16f4c38.tar.bz2 cygnal-494a66d9c5799091ccefcfd2f3d22226b16f4c38.zip |
* external.cc (cygwin_internal): Initialize various internal settings if
required to allow use of some things from user loaded DLL.
(CW_STRACE_ON): Add new feature.
(CW_CYGWIN_PID_TO_WINPID): Ditto.
* pinfo.cc (set_myself): Call "strace.hello" to initiate possible strace
session.
(pinfo::init): Guard against dereferencing uninitialized myself.
* sigproc.cc (wait_sig): Call strace.hello() when __SIGTRACE "signal" received.
* strace.cc (strace::hello): New method.
* wincap.cc (wincapc::init): Avoid initializing if already initialized.
* wincap.h (wincapc::wincapc): New method.
* include/sys/cygwin.h: Add new CW_ enums. Kludge typedefs of {g,u}id_t if
required.
* strace.h (strace::hello): Declare new method.
Diffstat (limited to 'winsup/cygwin/include/sys/strace.h')
-rw-r--r-- | winsup/cygwin/include/sys/strace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/include/sys/strace.h b/winsup/cygwin/include/sys/strace.h index 7b0e1a2cc..8039c1838 100644 --- a/winsup/cygwin/include/sys/strace.h +++ b/winsup/cygwin/include/sys/strace.h @@ -44,6 +44,7 @@ public: int lmicrosec; int execing; strace() : version(1) {} + void hello (); void prntf (unsigned, const char *func, const char *, ...) /*__attribute__ ((regparm(3)))*/; void vprntf (unsigned, const char *func, const char *, va_list ap) /*__attribute__ ((regparm(3)))*/; void wm (int message, int word, int lon) __attribute__ ((regparm(3))); |