newlib-cygwin/winsup/utils
Jon TURNEY 5c4129d937 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>
2015-06-11 12:00:51 +01:00
..
COPYING.dumper * dumper.cc: Change license to plain GPLv2 + later. 2007-07-24 19:08:23 +00:00
ChangeLog Improve strace to log most Windows debug events 2015-06-11 12:00:51 +01:00
ChangeLog-2000
ChangeLog.64bit * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
Makefile.in * Makefile.in: Add rules to create and depend on tzmap.h. 2014-12-05 13:41:52 +00:00
aclocal.m4 winsup/ChangeLog: 2013-11-07 00:19:52 +00:00
autogen.sh ChangeLog: 2012-11-23 13:22:47 +00:00
bloda.cc Update copyrights 2013-01-21 16:28:27 +00:00
configure * configure.ac: Convert to new AC_INIT style. 2014-08-15 21:24:35 +00:00
configure.ac * configure.ac: Convert to new AC_INIT style. 2014-08-15 21:24:35 +00:00
cygcheck.cc * cygcheck.cc (dump_sysinfo): Handle Windows 10/Server 2014(?). 2014-11-10 16:21:52 +00:00
cygpath.cc * cygpath.cc (do_pathconv): when -p option is given, generate wide 2013-06-26 13:10:35 +00:00
cygwin-console-helper.cc * cygwin-console-helper.cc: New file. 2009-07-05 00:01:26 +00:00
dump_setup.cc * dump_setup.cc (check_package_files): Accommodate postinstall 2015-02-17 23:36:23 +00:00
dumper.cc * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
dumper.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
getconf.c Clean up whitespace. 2011-12-17 23:39:47 +00:00
getfacl.c * getfacl.c (usage): Change --all to --access, --dir to --default. 2015-02-28 13:13:19 +00:00
kill.cc * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
ldd.cc * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
ldh.cc * ldh.cc (WinMain): Change DONT_RESOLVE_DLL_REFERENCES to 2010-08-28 12:12:53 +00:00
loadlib.h * Makefile.in: Move CFLAGS and CXXFLAGS so that they can be manipulated by 2012-11-28 03:22:36 +00:00
locale.cc * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
minidumper.cc * minidumper.cc (filter_minidump_type): New function. 2014-05-13 10:26:26 +00:00
mkgroup.c * mkgroup.c (MAX_SID_LEN): Remove. Instead, use SECURITY_MAX_SID_SIZE 2015-02-25 20:18:29 +00:00
mkpasswd.c * mkgroup.c (MAX_SID_LEN): Remove. Instead, use SECURITY_MAX_SID_SIZE 2015-02-25 20:18:29 +00:00
module_info.cc * Makefile.in (cygcheck.exe): Link against wininet.dll. 2013-11-19 11:14:36 +00:00
mount.cc * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
parse_pe.cc * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
passwd.c * passwd.c (GetPW): If server is NULL, and the user is not a local 2014-11-24 11:07:32 +00:00
path.cc Bind mounts require POSIX paths 2015-06-08 17:37:55 +02:00
path.h * Makefile.in (path-mount.o): Add a rule to build stripped down version 2009-07-22 10:20:26 +00:00
pldd.c * pldd.c: Fix typo in license header. 2012-02-24 21:53:28 +00:00
ps.cc Drop Windows 2000 considerations in ps, fix uid field length 2015-06-10 11:07:27 +02:00
regtool.cc * regtool.cc (longopts): Add --force option. 2015-02-03 15:14:57 +00:00
setfacl.c * setfacl.c (action_t): Add DeleteDef value. 2014-12-15 20:29:43 +00:00
setmetamode.c Clean up whitespace. 2011-12-17 23:39:47 +00:00
ssp.c * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
ssp.txt
strace.cc Improve strace to log most Windows debug events 2015-06-11 12:00:51 +01:00
testsuite.cc Update copyrights 2013-01-21 16:28:27 +00:00
testsuite.h Update copyrights 2013-01-21 16:28:27 +00:00
tzmap-from-unicode.org Asia/Calcutta -> Asia/Kolkata (not on unicode.org) 2015-04-23 22:03:45 +02:00
tzmap.h Asia/Calcutta -> Asia/Kolkata (not on unicode.org) 2015-04-23 22:03:45 +02:00
tzset.c * Makefile.in: Add rules to create and depend on tzmap.h. 2014-12-05 13:41:52 +00:00
umount.cc Update copyrights 2013-01-21 16:28:27 +00:00
wide_path.h * cygpath.cc (do_pathconv): when -p option is given, generate wide 2013-06-26 13:10:35 +00:00