From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DnFFF-0006Hf-2A for qemu-devel@nongnu.org; Tue, 28 Jun 2005 08:31:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DnFEy-0006B4-8i for qemu-devel@nongnu.org; Tue, 28 Jun 2005 08:31:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DnFEv-0005zX-Ld for qemu-devel@nongnu.org; Tue, 28 Jun 2005 08:30:57 -0400 Received: from [65.74.133.11] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DnFB6-00084B-QF for qemu-devel@nongnu.org; Tue, 28 Jun 2005 08:27:01 -0400 From: Paul Brook Subject: Re: [Qemu-devel] debug qemu-arm Date: Tue, 28 Jun 2005 13:22:15 +0100 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506281322.15501.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Chen.James@inventec-inc.com > It will report the following messages: > > Starting program: /home/qemu/arm-user/qemu-arm /home/qemu/tests/hello-arm > Warning: > Cannot insert breakpoint 1. > Error accessing memory address 0x1c7da: Input/output error. > > If I remove breakpoint at main and run it, it will be OK, Will you give me > some help? Thanks! Compile qemu-arm statically (ie configuer with --static). The default is to build as a shared library, which seems to be buggy, and confuses gdb. Paul