[fpc-pascal] can not debug on macosx 10.4 ppc

Henrik Genssen henrik.genssen at mediafactory.de
Sun Oct 25 19:45:49 CET 2009


Hi Jonas,

if I use plain -g I get:
[TCmdLineDebugger] Debug PID: 15860
TGDBMIDebugger.ProcessResult Error: ,msg="No symbol table is loaded.  Use the \"file\" command."
[Debugger] Running GDB version: Apple version gdb-437
[TDebugger.SetFileName] "/Users/hg/Downloads/@compiled/simple.app"
[TMainIDE.DoRunProject] B TGDBMIDebugger
TGDBMIDebugger.StartDebugging WorkingDir="/Users/hg/Downloads/@compiled/"
TGDBMIDebugger.ProcessResult Error: ,msg="No symbol \"FPC_THREADVAR_RELOCATE_PROC\" in current context."
[Debugger] Log output: &"info functions FPC_CPUINIT\n"
[Debugger] Log output: &"info address main\n"
[Debugger] Log output: &"info file\n"
[Debugger] File type: mach-o-be
[Debugger] Entry point: $000023b0
[WARNING] Debugger: Unexpected async-record: =shlibs-updated

and if I hit a button on my simple app, the app hangs and I do not get to the break-point
of the button on-click event (and no more output on console)

-- Hinnack

>-Xg can only work with DWARF on Mac OS X. Either use -gw -Xg or plain - 
>g without -Xg.
>
>
>Jonas



More information about the fpc-pascal mailing list