On 14/02/2014 15:23, leledumbo wrote:
Ah...my bad, my FPC wasn't built with debugging info, only Lazarus was.
Perhaps that could be the problem? But GDB knows when I give "b
FPC_RAISEEXCEPTION"? OK, this is weird...



FPC_RAISEEXCEPTION is declared
Function fpc_RaiseException (Obj : TObject; AnAddr : CodePointer; AFrame : 
Pointer) : TObject;[Public, Alias : 'FPC_RAISEEXCEPTION']; compilerproc;

the alias means it is exported always. But apparently GDB gets it wrong. At 
least for use as breakpoint.


It should work via the address trick. Most users have an RTL without dbg info, and yet can debug

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to