[ECOS] eCos -Jeeni compatibility.

rudra Chaudhury rudra_c@hotmail.com
Tue Nov 27 21:10:00 GMT 2001


Hi Grant,
I am sorry I could not communicate the actual scenario to you.
What I am trying to say is that when the debugger control comes to line 3 
(func_abc()) and I invoke step in then it shold point to the code for 
func_abc() i.e. line 8 onwards, irrespective of wheteher I have a 
preexisting breakpoint inside func_abc (i.e. line 8,9, or 10), but what I 
observer is that the debugger control is not going there but is directly 
coming to line 4. In other words I am unable to see the step wise execution 
of the code written inside func_abc().
The code is not compiled with any optimisations.

I hope I have able to illustrate the situations
regards
--Rudra


>From: Grant Edwards <grante@visi.com>
>To: rudra Chaudhury <rudra_c@hotmail.com>
>CC: ecos-discuss@sources.redhat.com
>Subject: Re: [ECOS] eCos -Jeeni compatibility.
>Date: Tue, 27 Nov 2001 10:43:01 -0600
>
>On Tue, Nov 27, 2001 at 09:10:09PM +0530, rudra Chaudhury wrote:
>
> > I am using Cirrus logic EP7211 board and eCos as my RTOS. Using gdb I am
> > able to download code onto my board and execute without using Jeeni, 
>i.e.
> > without any hardware debugger support.
> > When I use Jeeni as between the board and gdb then also I am able to
> > download the program. The problem is that I am unable to step in( which 
>is
> > possible if I do not use Jeeni), however I am able to put breakpoints 
>and
> > able to proceed step by step(i.e. I can do the "next" operation). When I 
>try
> > to step inside, instead of going inside the control goes to the next 
>line of
> > the code.
> > for example if I have a sample code:
> > 1. main()
> > 2. {
> > 3.    func_abc();
> > 4.    func_def();
> > 5. }
> > 6.
> > 7. func_abc()
> > 8. {
> > 9.     pqr();
> > 10. }
> >
> > when I am in line 3 and request for a step in then instead of going to 
>line
> > 8 it goes to line 4.
>
>Are you compiling with optimization turned off?  If
>optimization is enabled, the compiler may have optimized away
>the whole call.   Are you saying you can put a breakpoint at
>line 9 and it stops there, but it never gets there by doing
>"step" commands?  That's very strange.
>
> > I suspect that I need to do some configuration to Jeeni.
> > On receiving the Jeeni I configured it using:
> > ejconfig -com1 -i 10.0.0.42 -s 255.255.255.0 -g 10.0.0.5 -c ARM7TDI
> >
> > Do I need to do some other configurations as well.
>
>Nope.  We've got three of them and we never had to do anything
>other than set the IP addresses.
>
>--
>Grant Edwards
>grante@visi.com


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp



More information about the Ecos-discuss mailing list