Hi Jon,

On Jun 10 13:05, Jon TURNEY wrote:
> 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.

That's a nice addition.  Two points, though:

- Do we *always* want that output or do we want a way to switch it on
  and off?  If the latter, we can simply add another _STRACE_foo option
  for it.  

- The GetFileNameFromHandle function could be much simpler.  Rather than
  opening a mapping object for ev.u.LoadDll.hFile, just use the existing
  mapping object from ev.u.LoadDll.lpBaseOfDll.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpeVmFdeEVy6.pgp
Description: PGP signature

Reply via email to