Continuous attempts to disassemble AVR target in Lazarus when stopped at break point
Original Reporter info from Mantis: ccrause @ccrause
-
Reporter name: Christo Crause
Original Reporter info from Mantis: ccrause @ccrause
- Reporter name: Christo Crause
Description:
When debugging AVR code via remote debugger (avr-gdb), recent gdb versions (7.1 - 8.0) cause an offset of 0x800000 to be added to the program memory location. This results in contents of the data memory to be disassembled. The debugger heuristics to disassemble the memory around the break point then fails because it doesn't get useful information back from gdb.
Steps to reproduce:
Refer to Lazarus forum thread: http://forum.lazarus-ide.org/index.php/topic,37405.msg254652.html#msg254652
Additional information:
Report of gdb issue: https://sourceware.org/bugzilla/show_bug.cgi?id=13519
I suspect this will not be an issue for versions of gdb < 7.1
A patch has been submitted, but has been ignored for quite some time, so I suspect Lazarus users trying to debug remote AVR targets may encounter this issue if they have recent versions of gdb.