Is supposed that with the -gl and the BackTraceStrFunc would get all the info with the line number as well? Because if is true i've seen not work and could test again. 2012/2/20 Sven Barth <pascaldra...@googlemail.com>
> Am 20.02.2012 16:34, schrieb Martin: > > If you do not want to ship with debug info: >> >> - compile with debug info >> - keep a copy of the file with debug info >> - use strip[.exe] to remove the debug info from shipping version >> - dump addresses >> >> when you get the addresses, you can use gdb and the copy with debug info >> that you kept (must match 100% the shipped version) >> >> you will need a smass script calling gdb for each address >> >> >> gdb.exe -i mi project1.exe --eval-command="info line *0x428f60" >> --eval-command=q >> > > Alternatively - as I already wrote: > > - compile with "-Xg" > - keep the appname.dbg file > - dump addresses > > command to use: > > gdb.exe -i mi project1.exe --symbols=project1.dbg --eval-command="info > line *0x428f60" --eval-command=q > > Regards, > Sven > > ______________________________**_________________ > fpc-pascal maillist - > fpc-pascal@lists.freepascal.**org<fpc-pascal@lists.freepascal.org> > http://lists.freepascal.org/**mailman/listinfo/fpc-pascal<http://lists.freepascal.org/mailman/listinfo/fpc-pascal> > -- Everton Vieira.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal