On 21/02/2012 20:28, Everton Vieira wrote:
Em 21/02/2012, às 14:20, Martin escreveu:

On 21/02/2012 16:14, leledumbo wrote:
  So the savest way to ensure that BackTraceStrFunc returns more than just
the address us to use "-gl"

I think I'm not clear enough to say that I have used -gl for this, and I
don't get the line information. I've tried this on 2 places: ExceptProc and
TApplication.OnException.

It should be noted, that afaik if the BackTraceStrFunc encounters an error, it 
is reset to the system one (without line info). So once backtrace failed (maybe 
problems reading a particular part of the debug info, it switches itself off... 
(for all further calls)

If you don't get results: then you should mention if that was using stabs, or 
dwarf. And 32bit 64 bit.
Did you have looked at the example i send? It also is not working. I`m on 32b 
mac osx lion with svn version instaled. And with none of the available options 
have worked: automatic, stabs, dwarf, dwarf2, dwarf3 beta.

Well then maybe there is a bug on Mac.

It does work for me on windows (and IIRC I also had success on Linux) both 32 bit.



_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to