This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: gdb on redboot (partial success)
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: Satish Kumar <satish at bvt dot sc dot sanyo dot co dot jp>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: 06 Aug 2003 10:16:53 +0100
- Subject: Re: [ECOS] gdb on redboot (partial success)
- References: <20030806144627.2ECA.SATISH@bvt.sc.sanyo.co.jp>
Satish Kumar <satish@bvt.sc.sanyo.co.jp> writes:
> Hi,
> finally i came out of loop of solving my problem with the
> arm-elf-gdb..well i m able to connect to my target and
> download my code now..and when i run continue the gdb seems
> to be hanging somewhere..no output seen..
> my hello.c is as follows:
<snip>
> well, i see no "Hello World" string output. can somebody
> explain were i m wrong..!!
>
At this point you are going to have to start planting breakpoints and
see how far the program gets. Start with putting one at 0x40040. Take
a look at vectors.S for other useful places to put breakpoints.
Also try building and running some of the test programs that come with
eCos. Something like tm_basic in the kernel tests exercises most of
the system.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss