From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15136 invoked by alias); 7 Jul 2004 05:37:07 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15129 invoked from network); 7 Jul 2004 05:37:06 -0000 Received: from unknown (HELO mail04.idc.renesas.com) (202.234.163.13) by sourceware.org with SMTP; 7 Jul 2004 05:37:06 -0000 Received: (from root@localhost) by guardian05.idc.renesas.com with id i675b0dF012327 for gdb-patches@sources.redhat.com; Wed, 7 Jul 2004 14:37:00 +0900 (JST) Received: from unknown [172.20.8.71] by guardian05.idc.renesas.com with SMTP id QAA12326 ; Wed, 7 Jul 2004 14:37:00 +0900 Received: from mrkaisv.hoku.renesas.com ([10.145.105.245]) by rnsmtp01.hoku_r.renesas.com (8.9.3/3.7W) with ESMTP id OAA22205 for ; Wed, 7 Jul 2004 14:37:00 +0900 (JST) Received: from E5A02646 (unknown [10.145.105.81]) by mrkaisv.hoku.renesas.com (Postfix) with SMTP id AFA657980E2 for ; Wed, 7 Jul 2004 14:36:59 +0900 (JST) Message-ID: <020801c463e4$6c92a660$5169910a@E5A02646> From: "Kei Sakamoto" To: Subject: [RFA/m32r] Fix breakpoint bug of m32rsdi protocol Date: Wed, 07 Jul 2004 05:37:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-SW-Source: 2004-07/txt/msg00059.txt.bz2 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 f00024: e3 f0 10 04 ld24 r3,f01004 The attached patch fixes this problem. OK to commit? === 2004-07-07 Kei Sakamoto * remote-m32r-sdi.c: Fix breakpoint bug.