From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LvT3N-0005LR-At for qemu-devel@nongnu.org; Sun, 19 Apr 2009 05:11:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LvT3H-0005De-Sl for qemu-devel@nongnu.org; Sun, 19 Apr 2009 05:11:08 -0400 Received: from [199.232.76.173] (port=48880 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvT3H-0005Db-9C for qemu-devel@nongnu.org; Sun, 19 Apr 2009 05:11:03 -0400 Received: from rv-out-0708.google.com ([209.85.198.248]:8558) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LvT3G-0006vC-Vj for qemu-devel@nongnu.org; Sun, 19 Apr 2009 05:11:03 -0400 Received: by rv-out-0708.google.com with SMTP id c5so115972rvf.22 for ; Sun, 19 Apr 2009 02:11:01 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <97c6447d0904182216j757d62f5gd15f3f2d8599404@mail.gmail.com> References: <97c6447d0904182055i38425f89h9dea8b9e2ace101c@mail.gmail.com> <3aa97550904182142w6d472c9cladd50e88a1215b7@mail.gmail.com> <97c6447d0904182216j757d62f5gd15f3f2d8599404@mail.gmail.com> Date: Sun, 19 Apr 2009 14:41:01 +0530 Message-ID: <3aa97550904190211n6cb8e2b5n5a4f955aa8449e80@mail.gmail.com> Subject: Re: [Qemu-devel] use qemu debug arm From: Prasad Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 you run in QEMU run your target with -s -S option then run arm gdb with ELF file as input. $ arm-none-linux-gnueabi-gdb Image.elf connect your target using $ target remote localhost:1234 now you can debug your arm code.Care should be take to place source code in right path, so that source level debuggin is possible. Regard, Prasad P R A S A D S H E T T Y ~~~~~~~~~~~~~~~~~~~~~~~~ http://shettyprasad.blogspot.com ~~~~~~~~~~~~~~~~~~~~~~~~ On Sun, Apr 19, 2009 at 10:46 AM, zhongsan yan wrote: > thanks,Prasad > > i have the Sourcery G++ Lite for arm eabi tool chain, it include gcc, as, > ld, ar, gdb tools for arm, > > and now, i write my code, what next i should do to debug, is any documents > about it ? where can i get that. > > BR