[RFA/m32r] Fix breakpoint bug

Kei Sakamoto sakamoto.kei@renesas.com
Thu Oct 7 06:32:00 GMT 2004


m32r-tdep.c can't handle breakpoints on instructions executed
in parallel. It does not remove unnecessary parallel execution
bit from instructions and causes illegal instruction errors.

The attached patch fixes this problem.

OK to commit?

2004-10-07    Kei Sakamoto  <sakamoto.kei@renesas.com>

    * m32r-tdep.c (m32r_memory_insert_breakpoint): Remove
    unnecessary parallel execution bit.
    (m32r_memory_remove_breakpoint): Ditto.
    (m32r_breakpoint_from_pc): Update.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m32r-tdep.patch
Type: application/octet-stream
Size: 4985 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20041007/054e1237/attachment.obj>

More information about the Gdb-patches mailing list