This is the mail archive of the gdb-patches@sources.redhat.com 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]

[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.


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