On 27/11/2010 12:48, Martin wrote:
On 27/11/2010 12:45, Martin wrote:
On 27/11/2010 12:23, ugaciaka wrote:
Hi,
  a
I use Lazarus on Arch Linux 64bit. I installed gdb and configured this
debugger. But when add a breakpoint in my source and start compilation
this not effect.

What can I do?

And one more: if all else fails.
Look at the link (that I forgot) http://bugs.freepascal.org/view.php?id=15587

and compile your app with a diff imagebase
Note:
(0035256) Bernd Engelhardt
2010-03-11 15:12

If you use {$IMAGEBASE $400000} in you code the debugger works as expected.


- Have a look here: download the latest gnu debugger from the link Vincent posted (last note)

forgot the line :) ...
http://bugs.freepascal.org/view.php?id=15587 (but anyway windows)

Sorry the link is for windows.

You may need to find how to upgrade gdb for linux.
Not sure what minimum version is required on linux.

It may even be that your gdb is already fine. Try upgrading Lazarus first.


- You also must update to the latest Lazarus snapshot. Older versions of Lazarus do not work with the 64 bit debugger.
This is definitely true for win and linux. Only the most recent snapshots of Lazarus (last 1 or 2 weeks) support debugging on 64 bit


- As for fpc, I know t was tested for fpc from svn trunk. But it may work with fpc 2.4.2 too (tests are pending

Also compile your apps with dwarf -gw

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to