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.
Best regards,
Paul Ishenin
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel