[ECOS] No RedBoot network after app start?

Andre-John Mas ajmas@sympatico.ca
Thu Jul 6 23:29:00 GMT 2006

> From: Gary Thomas <gary@mlbassoc.com>
> Date: 2006/07/06 Thu AM 06:42:02 EDT
> To: ajmas@bigfoot.com
> CC: ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] No RedBoot network after app start?
> Andre-John Mas wrote:
> > I am a little confused then (I am new at this). I was 
>  > under the impression that RedBoot needs to hang around,
>  > so GDB can do its work. I have also been told that RedBoot
>  > and the application needs separate IP addresses (supposedly
>  > to avoid stack confusion), for this reason.
> All true, but RedBoot is passive at this point.  It only
> provides GDB services on demand (when you print or hit a
> breakpoint, etc)

I see.

> > 
> > Our main issue is that we are unable to debug. We are using 
>  > Eclipse to establish the GDB session, over ethernt. The image
>  > gets uploaded by Eclipse, to port 9000 at the address of our card,
>  > and we then reach the main function (we have break at main set).
>  > At that point no more debugging is possible, which isn't very
>  > useful. What I mean is that we can't step or display anything
>  > further. At this point we just have to restart our card.
> You get to the breakpoint at 'main' in your code?
> Is your problem is that once you continue past this point, with
> no other breakpoints set, you can't get back into GDB?  Can you
> set other breakpoints, or single step?

I get to the first 'break point' and at that point I can neither step or continue to the next break point. When we hit the 'break at main' point we can get registery info, but that's it.


Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list