This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/16703] The program breaks at the next instruction when issuing a memory breakpoint on AVR8.


https://sourceware.org/bugzilla/show_bug.cgi?id=16703

--- Comment #6 from Pedro Alves <palves at redhat dot com> ---
Memory map support was added in 2006-09-21, and the avr port
goes all the back back to at least 2002-04-25.  Given the flash issue, I think
that it's quite likely that older remote targets / servers just handled Z0
packets as hardware breakpoints behind the scenes, and therefore reported the
PC as the breakpoint's address.  So setting decr_pc_after_break would break
those old stubs/servers/etc.  I don't if we should care.  Assuming all probes
nowadays send a memory map, probably not.  Tristan, any comments?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]