This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA/m32r] Fix breakpoint bug of m32rsdi protocol
- From: "Kei Sakamoto" <sakamoto dot kei at renesas dot com>
- To: <gdb-patches at sources dot redhat dot com>
- Date: Wed, 7 Jul 2004 14:36:59 +0900
- Subject: [RFA/m32r] Fix breakpoint bug of m32rsdi protocol
Hello,
I found a bug in m32r's own remote protocol, m32rsdi. When gdb uses m32rsdi
protocol, gdb skips the breakpoint on the next instruction.
Fo example, when pc is 0xf00020, gdb skips the breakpoint on 0xf00024.
f00020: e6 f0 10 08 ld24 r6,f01008 <y>
f00024: e3 f0 10 04 ld24 r3,f01004 <z>
The attached patch fixes this problem.
OK to commit?
===
2004-07-07 Kei Sakamoto <sakamoto.kei@renesas.com>
* remote-m32r-sdi.c: Fix breakpoint bug.