From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zk9HQ-0001yt-9L for qemu-devel@nongnu.org; Thu, 08 Oct 2015 07:22:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zk9HM-0004SI-J8 for qemu-devel@nongnu.org; Thu, 08 Oct 2015 07:22:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zk9HM-0004RP-Eu for qemu-devel@nongnu.org; Thu, 08 Oct 2015 07:22:32 -0400 References: <5615653D.3000405@gmail.com> From: Thomas Huth Message-ID: <561651F4.5050804@redhat.com> Date: Thu, 8 Oct 2015 13:22:28 +0200 MIME-Version: 1.0 In-Reply-To: <5615653D.3000405@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Debugging u-boot after relocation on arm machie List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "mar.krzeminski" , "qemu-devel@nongnu.org Developers" Cc: Peter Maydell , Peter Crosthwaite On 07/10/15 20:32, mar.krzeminski wrote: > Hello, > > I am working on u-boot under qemu. Debugging before u-boots relocate > itself works just fine. > After relocation and reloading elf in gdb, qemu does no stop on breakpoint. Are you using software breakpoints or hardware breakpoints? In case you're using software breakpoints, maybe they get clobbered by the relocation / reloading? Thomas