[fpc-devel] time for dumping stacktrace, when using dwarf.

Micha Nelissen micha at neli.hopto.org
Tue Nov 10 12:12:29 CET 2009


Schatzl Thomas wrote:
> Improving upon that should be trivial, all reading from the debug input has been encapsuled in the two ReadNext() methods in the file mentioned. It should be easy to make them to read from a (static?) buffer that is filled blockwise; note that a static buffer may give headaches for MT programs, and you are strongly discouraged to do memory allocation during crashes...

Allocating that buffer on the stack isn't sufficient?

Micha



More information about the fpc-devel mailing list