[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] use qemu debug arm
From: |
Prasad |
Subject: |
Re: [Qemu-devel] use qemu debug arm |
Date: |
Sun, 19 Apr 2009 14:41:01 +0530 |
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 <address@hidden> 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