diff options
author | Christopher Faylor <me@cgf.cx> | 2011-11-24 21:36:53 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-11-24 21:36:53 +0000 |
commit | ef8bff85be3057385b34a4c0f8ba2b274041ffcc (patch) | |
tree | f131b4c4b2e0a349fa8791c0d4b17b2bf8296b4a /winsup/cygwin/include/sys/strace.h | |
parent | 8942ed09ac9491f52337395e11b6dc0c554be05f (diff) | |
download | cygnal-ef8bff85be3057385b34a4c0f8ba2b274041ffcc.tar.gz cygnal-ef8bff85be3057385b34a4c0f8ba2b274041ffcc.tar.bz2 cygnal-ef8bff85be3057385b34a4c0f8ba2b274041ffcc.zip |
* cygthread.h (cygthread::name): Default name to "main" if we are early in the
process of setting up the DLL and no name is known.
* dcrt0.cc (initial_env): Remove CYGWIN_SLEEP stuff.
(get_cygwin_startup_info): Activate strace here as appropriate.
(dll_crt0_0): Move get_cygwin_startup_info as early as possible to avoid
missing strace output.
* fork.cc (frok::child): Move debugging statement to point where ppid will be
set.
* pinfo.cc (pinfo::thisproc): Remove obsolete call to strace.hello. Tweak
debug output slightly.
* select.cc (select_stuff::wait): Allow APCS to be triggered while waiting
since we use them now. Report when that happens.
* sigproc.cc (child_info::child_info): Use strace.active() rather than
strace.attached().
* spawn.cc (child_info_spawn::worker): Only write strace child pid when we know
it's a cygwin process. Accommodate change to write_child argument list.
* strace.cc (strace::hello): Delete. Move functionality...
(strace::activate): ...to here.
(mypid): Just use raw GetCurrentProcessId () if myself isn't set.
(strace::write_childpid): Don't wait for subproc_ready. Remove arg which was
required for it.
* include/sys/strace.h (strace::hello): Delete.
(strace::write_childpid): Delete first argument.
Diffstat (limited to 'winsup/cygwin/include/sys/strace.h')
-rw-r--r-- | winsup/cygwin/include/sys/strace.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/include/sys/strace.h b/winsup/cygwin/include/sys/strace.h index 5b1ccb5b2..cfe818bc3 100644 --- a/winsup/cygwin/include/sys/strace.h +++ b/winsup/cygwin/include/sys/strace.h @@ -45,12 +45,11 @@ public: int version; int lmicrosec; bool execing; - void hello () __attribute__ ((regparm (1))); void dll_info () __attribute__ ((regparm (1))); 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))); - void write_childpid (child_info&, unsigned long) __attribute__ ((regparm (3))); + void write_childpid (unsigned long) __attribute__ ((regparm (3))); bool attached () const {return _active == 3;} bool active () const {return _active & 1;} unsigned char& active_val () {return _active;} |