diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-05-16 15:19:59 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-06-11 12:00:51 +0100 |
commit | 5c4129d93749464c2be4af6f9ac727d752288da7 (patch) | |
tree | 21350e9d0c275afaff34a14ac8617700df89958a /newlib/libc/stdio/swprintf.c | |
parent | 5979b17401205d9165f1f030c906ef97a29d7ff5 (diff) | |
download | cygnal-5c4129d93749464c2be4af6f9ac727d752288da7.tar.gz cygnal-5c4129d93749464c2be4af6f9ac727d752288da7.tar.bz2 cygnal-5c4129d93749464c2be4af6f9ac727d752288da7.zip |
Improve strace to log most Windows debug events
Not sure if this is wanted, but on a couple of occasions recently I have been
presented with strace output which contains an exception at an address in an
unknown module (i.e. not in the cygwin DLL or the main executable), so here is a
patch which adds some more information, including DLL load addresses, to help
interpret such straces.
v2:
Use NtQueryObject() for HANDLE -> filename conversion
Add new '-e' option to toggle this additional logging
2015-06-07 Jon Turney <jon.turney@dronecode.org.uk>
* strace.cc (proc_child): Log process and thread create and exit,
and DLL load and unload.
(GetFileNameFromHandle): New function.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Diffstat (limited to 'newlib/libc/stdio/swprintf.c')
0 files changed, 0 insertions, 0 deletions