[fpc-pascal] DWARF line info cannot be used gdb

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Dec 30 15:17:18 CET 2008


On 29 Dec 2008, at 23:57, Jonas Maebe wrote:

> On 29 Dec 2008, at 23:10, dmitry boyarintsev wrote:
>
>> compile line
>> fpc -Aas -gw2 test.pas
>> gdb test.exe
>> ...
>> (gdb) b test.pas:7
>> warning: (Internal error: pc 0x40144e in read in psymtab, but not  
>> in symtab.)
>>
>> warning: (Internal error: pc 0x40144e in read in psymtab, but not  
>> in symtab.)
>
> I got these warnings also on Mac OS X when I was initially on dwarf  
> support there. Unfortunately, I don't remember anymore which fix  
> exactly solved them, or what the root cause was.

I believe it has something to do with a mismatch between the debug  
information and the regular symbol table of the application.


Jonas



More information about the fpc-pascal mailing list