4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-15 11:00:04 +08:00
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
..
2013-11-07 00:19:52 +00:00
2012-11-23 13:22:47 +00:00
2013-01-21 16:28:27 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2011-12-17 23:39:47 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2015-06-08 17:37:55 +02:00
2012-02-24 21:53:28 +00:00
2011-12-17 23:39:47 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 16:28:27 +00:00
2013-01-21 16:28:27 +00:00
2013-01-21 16:28:27 +00:00