[fpc-devel] Can someone test, pleease - possible problem with dbg info

Martin fpc at mfriebe.de
Sat Jan 15 02:56:33 CET 2011


On 15/01/2011 01:50, Paul Ishenin wrote:
> 15.01.2011 8:38, Martin wrote:
>> In lazarus /debugger/test/Gdbmi is a program TestGdbmi
>>
>> If I insert a breakpoint at line 480 (either before start, or during 
>> run, then GDB reports :
>> >> TCmdLineDebugger.SendCmdLn "-exec-continue"
>> << TCmdLineDebugger.ReadLn "^error,msg="Warning:\nCannot insert 
>> breakpoint 9.\nError accessing memory address 0x18: Input/output 
>> error.\n"
>> "
>>   TGDBMIDebugger.ProcessResult Error: ,msg="Warning:\nCannot insert 
>> breakpoint 9.\nError accessing memory address 0x18: Input/output error.\
>> n"
>> << TCmdLineDebugger.ReadLn "(gdb) "
>>
>>
>> Can anyone try if they get the same?
>> w32
>> fpc 2.4.2
>> lazarus uptodate0/9/31
>> dwarf -gw
>>
>> Oh, and the problem goes away, if I use the external linker -Xe
> You have a known problem. You placed a breakpoint at the location 
> which was striped away by the linker. But debug info for this location 
> is generated and not stripped by the compiler. There is already a bug 
> report regards that.
ok, because it showed the blue dots for the lines...
thanks



More information about the fpc-devel mailing list