Received: from [140.186.70.92] (port=45243 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrCy3-0001Kd-HV for qemu-devel@nongnu.org; Sun, 20 Feb 2011 12:21:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrCy2-0006GT-AH for qemu-devel@nongnu.org; Sun, 20 Feb 2011 12:21:07 -0500 Received: from adelie.canonical.com ([91.189.90.139]:35729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrCy2-0006G7-3D for qemu-devel@nongnu.org; Sun, 20 Feb 2011 12:21:06 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1PrCy1-000327-Kb for ; Sun, 20 Feb 2011 17:21:05 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 99F7A2E80CC for ; Sun, 20 Feb 2011 17:21:05 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sun, 20 Feb 2011 17:12:31 -0000 From: Aurelien Jarno Sender: bounces@canonical.com References: <20100329123629.23472.35031.malonedeb@wampee.canonical.com> Message-Id: <20110220171232.30374.67719.launchpad@wampee.canonical.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: Fix Committed =3D> Fix Released -- = 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 Released 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).