Received: from [140.186.70.92] (port=57200 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pq9jX-0008T2-6n for qemu-devel@nongnu.org; Thu, 17 Feb 2011 14:41:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pq9jU-0007O2-54 for qemu-devel@nongnu.org; Thu, 17 Feb 2011 14:41:46 -0500 Received: from adelie.canonical.com ([91.189.90.139]:38615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pq9jU-0007Nb-0Q for qemu-devel@nongnu.org; Thu, 17 Feb 2011 14:41:44 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Pq9jQ-0007rl-MV for ; Thu, 17 Feb 2011 19:41:41 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 1DB702E8157 for ; Thu, 17 Feb 2011 19:41:38 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 17 Feb 2011 19:34:24 -0000 From: Christophe <550863@bugs.launchpad.net> Sender: bounces@canonical.com References: <20100329123629.23472.35031.malonedeb@wampee.canonical.com> Message-Id: <20110217193425.7184.10954.malone@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 Thanks for the patch, so far so good... Christophe -- = 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).