[lazarus] *BSD problems with Lazarus

Marco van de Voort marcov at stack.nl
Thu Jun 19 10:54:36 EDT 2003



I debugged Lazarus and Pipe, and found the problem.

The syscall pipe returns the filedescriptors in registers, and then some C
macro copies it to the int[2] structure. I haven't seen this in the initial
port I guess.

I quick checked, and NetBSD also does this, on all (processor) platforms.

The FreeBSD fix is commited, the NetBSD/i386 will follow tomorrow or
saturday.

----
I do see this now in the output, but the debugged program starts up:
(notice the warning)

[snip
[Debugger] Console output: ~"/fpc/lazproj/project1' has changed; re-reading symbols.\n"
[WARNING] Debugger: Unknown stopped reason: 
TCmdLineDebugger.SendCmdLn "info program"
[Debugger] Log output: &"info program\n"
[Debugger] Target PID: 83914
TCmdLineDebugger.SendCmdLn "-exec-continue"






More information about the Lazarus mailing list