This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/16703] The program breaks at the next instruction when issuing a memory breakpoint on AVR8.
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 14 Mar 2014 11:30:20 +0000
- Subject: [Bug breakpoints/16703] The program breaks at the next instruction when issuing a memory breakpoint on AVR8.
- Auto-submitted: auto-generated
- References: <bug-16703-4717 at http dot sourceware dot org/bugzilla/>
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.