[Lazarus] debugger fails on freebsd x86_64

Martin lazarus at mfriebe.de
Sun Aug 12 21:47:09 CEST 2012


On 12/08/2012 16:11, Marc Santhoff wrote:
> Am Sonntag, den 12.08.2012, 00:51 +0100 schrieb Martin:
>> I don't know what exactly is going wrong on the Freebsd gdb. And I
>> havent used FreeBSD in a long time...
>>
>> Where did he 6.1 debugger come from? Lazarus does not include GDB except
>> on windows (afaik).
> It's what comes with the system by default. Part of the OS.
>
>> I am surprised that Freebsd 9 should by default have such an old GDB.
> I'm used to it. It has been some versions back ever since. Or the other
> way round, FreeBSD is a bit conservative and Linux adopts any new (and
> maybe buggy) version very early. ;)
"A bit conservative" 6.1 is years behind. Current is 7.4 (and 7.5 is due)

But that's not the point, there must be some other difference, maybe 
it's localized, maybe it has bsd specific patches. It does somehow 
behave different.

>> Also, there must be something different about that GDB, since on Windows
>> GDB 5.2 does work....
> Running a program and triggering gdb on exception has worked for me all
> the time until now. All the time is since ... um, I think 2001 or so,
> with fpc 1.9.2. Real debugging - stepping through code, inspecting vars
> - has worked only sometimes and partly. So that's no surprise regarding
> FreeBSD.
Well if you do not mind, you can still send me a full log

|  --debug-log=/home/yourname/laz.log --debug-enable=DBG_CMD_ECHO,DBG_STATE,DBG_DATA_MONITORS,DBGMI_QUEUE_DEBUG,DBGMI_TYPE_INFO,DBG_WARNINGS


If it is trivial to fix ...
|




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120812/355fa425/attachment-0003.html>


More information about the Lazarus mailing list