Received: from eggs.gnu.org ([2001:4830:134:3::10]:43311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emQjP-00034C-FP for qemu-devel@nongnu.org; Thu, 15 Feb 2018 16:06:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emQjK-000146-ET for qemu-devel@nongnu.org; Thu, 15 Feb 2018 16:06:15 -0500 Received: from p3plsmtpa07-03.prod.phx3.secureserver.net ([173.201.192.232]:48752) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1emQjK-00013g-74 for qemu-devel@nongnu.org; Thu, 15 Feb 2018 16:06:10 -0500 From: Steven Seeger Reply-To: steven.seeger@flightsystems.net Date: Thu, 15 Feb 2018 16:06:03 -0500 Message-ID: <18994193.FvU4hPZK01@wirbelwind> In-Reply-To: References: <5193436.NpsRQSl3SI@wirbelwind> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] [PATCH 01/02] fix issue where a branch to pc+4 confuses GDB because pc and npc are set to the same value List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers , Richard Henderson , Mark Cave-Ayland , Artyom Tarasenko Oh, let me also add that this assertion fails in gdb: Thread 1 hit Breakpoint 3, 0x40f102d8 in ?? () (gdb) si ./../../src/gdb-8.1/gdb/sparc-tdep.c:1737: internal-error: std::vector sparc_software_single_step(regcache*): Assertion `nnpc != npc || orig_npc == 0' failed. I had this assertion commented out so when I unrolled my patch to repeat the test in order to write my previous reply to you, I saw it be stuck on the same instruction rather than fail this assertion. I guess this could be a gdb bug, too. Steven