This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: addr2line [ Was: better stackdumps ]


Brian Dessent wrote:

> I think I see what's going on here though, the Cygwin fault handler took
> the first chance exception and wrote the stackdump file, and only then
> passed it on to the debugger, so that by the time gdb got notice of the
> fault the stack was all fubar.  This could be the reason why dumper is
> not working too.  I thought there was a IsBeingDebugged() check in the

Silly me, this is good old "set cygwin-exceptions" defaulting to off...
of course gdb was ignoring the fault and letting Cygwin handle it.  With
it set to on everything works as expected, and the issue of why the
process state that dumper records is so trashed is unrelated.

Brian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]