[fpc-devel] gdb on amd64

Florian Klaempfl F.Klaempfl at gmx.de
Wed Jun 1 20:40:50 CEST 2005


Vincent Snijders wrote:

> Hi,
> 
> I am investigating a crash of lazarus on the amd64 platfrom.
> 
> Part of the backtrace looks like this:
> #18 0x0000000000434ea0 in TAPPLICATION__RUN (this=Cannot access memory
> at address 0x8000ffffed18
> ) at application.inc:980
> 
> Note the parameter of TApplication.Run is not shown, because of the
> invalid memory address. Is this normal (can't gdb handle this?) or does
> this indicate a bug in my program?

You need at least a patched gdb, get the patch from:
ftp://ftp.freepascal.org/pub/fpc/contrib/libgdb/v6.2.1/dbxread-amd64-stabs-fix.diff




More information about the fpc-devel mailing list