[PATCH] better stackdumps

Brian Dessent brian@dessent.net
Wed Mar 19 00:57:00 GMT 2008

Igor Peshansky wrote:

> Would it make sense to force a newline before the function name and to
> display it with a small indent?  That way people who want the old-style
> stackdump could just feed the new one into "grep -v '^  '" or something...

Yes, that would be one way.  That actually reminds me of another issue
that I forgot to mention: glibc has a backtrace API that can be called
from user-code at any time, not just at faults.  At the moment we are
exporting something similar called cygwin_stackdump but we don't declare
it in any header.  Would it be worthwhile to try to match the glibc API
and export it under the same name/output format?


More information about the Cygwin-patches mailing list