Received: from [140.186.70.92] (port=55836 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnKJ4-0006xU-4k for qemu-devel@nongnu.org; Wed, 09 Feb 2011 19:22:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnKJ0-0004oO-2m for qemu-devel@nongnu.org; Wed, 09 Feb 2011 19:22:43 -0500 Received: from adelie.canonical.com ([91.189.90.139]:51392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnKIz-0004nu-SJ for qemu-devel@nongnu.org; Wed, 09 Feb 2011 19:22:42 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1PnKIy-0001cn-MD for ; Thu, 10 Feb 2011 00:22:40 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id DEE882E80F3 for ; Thu, 10 Feb 2011 00:22:38 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 10 Feb 2011 00:12:10 -0000 From: "Edgar E. Iglesias" <550863@bugs.launchpad.net> Sender: bounces@canonical.com References: <20100329123629.23472.35031.malonedeb@wampee.canonical.com> Message-Id: <20110210001210.31532.43290.launchpad@potassium.ubuntu.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 550863] Re: MicroBlaze QEMU skips jumps when using single steps in GDB Reply-To: Bug 550863 <550863@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Changed in: qemu Status: New =3D> Fix Committed -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/550863 Title: MicroBlaze QEMU skips jumps when using single steps in GDB Status in QEMU: Fix Committed Bug description: I'm trying to debug a MicroBlaze application (with the MicroBlaze system qemu, not the user mode qemu) using GDB. When I'm trying to single step through instructions all the branches are ignored: the program counter is just incremented by 4 (default), even for unconditional branches. This only occurs when using single step mode, everything runs as expected when using breakpoints only. Qemu Versions tested: 0.11.0, 0.12.3, GIT version (March 29, 2010) Qemu command used: qemu-system-microblaze -kernel test.elf -S -s GDB Versions used: 7.1 (official MicroBlaze support), 6.5 (from Xilinx ED= K 10.1), 5.3 (from Xilinx EDK 9.1) GCC Versions used: 4.1.1 (from Xilinx EDK 11.1) I've attached my program, it uses a custom linker script and startup code. It runs fine without using singlestep mode. The bug looks similar to one submitted for PPC a while ago (181951).