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

Henrik Genssen henrik.genssen at mediafactory.de
Sat Oct 24 22:22:56 CEST 2009


Hi,

I am trying to debug an application on my old ppc mac running macosx 10.4.11 with lazarus from trunc.
On debugging the app starts, but it does not accept breakpoints...
The console-output is the following:

[TCmdLineDebugger] Debug PID: 14010
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: $00002770
[WARNING] Debugger: Unexpected async-record: =shlibs-updated
[Debugger] Target PID: 14014
[Debugger] Log output: &"No source file named unit1.pas.\n"
TGDBMIDebugger.ProcessResult Error: ,msg="No source file named unit1.pas."
TGDBMIDebugger.ProcessResult Error: ,msg="mi_cmd_symbol_list_lines: Unknown source file name."

Yes, I have a unit1.pas :-) although it is named Unit1.pas - but is macosx not case insensitive by default anyway?
Is my gdb just too old?

regards

Hinnack



More information about the fpc-pascal mailing list