On Feb 23 18:15, Jon TURNEY wrote: > I really wanted to do this by adding some DWARF CFI to the generated sigfe.s > file, but there doesn't seem to currently be a way to correctly describe > _sigbe's frame using that.
I was wondering about this already. It seems weird if the CFI stuff doesn't allow for a situation like that. > So instead, write a custom unwinder for _sigbe frames, which gets the return > address from the sigstack. > > Implemented for i386 and amd64. Cool. Really. But, shouldn't that go to the gdb-patches mailing list? > 4. This unfortunately ends up hardcoding into gdb the offset of sigstackptr in > the cygwin TLS area from the top of stack, and so will break if that changes. > Hopefully that doesn't happen to often. It happens too often to be ignored. Wouldn't it make sense to add a cygwin_internal call to return tls offsets or addresses, the later if the argument is a pointer to the stack or cygtls area? Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
pgpodmVAzEX8M.pgp
Description: PGP signature