From: Prasad <prashy.mh@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] use qemu debug arm
Date: Sun, 19 Apr 2009 14:41:01 +0530 [thread overview]
Message-ID: <3aa97550904190211n6cb8e2b5n5a4f955aa8449e80@mail.gmail.com> (raw)
In-Reply-To: <97c6447d0904182216j757d62f5gd15f3f2d8599404@mail.gmail.com>
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 <yanzhongsan@gmail.com> 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
prev parent reply other threads:[~2009-04-19 9:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-19 3:55 [Qemu-devel] use qemu debug arm zhongsan yan
2009-04-19 4:42 ` Prasad
2009-04-19 5:16 ` zhongsan yan
2009-04-19 9:11 ` Prasad [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3aa97550904190211n6cb8e2b5n5a4f955aa8449e80@mail.gmail.com \
--to=prashy.mh@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).