public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] RedBoot remote GDB support
@ 2008-03-26 18:51 Mike Playle
  2008-03-26 19:01 ` Andrew Lunn
  2008-03-26 19:07 ` Gary Thomas
  0 siblings, 2 replies; 4+ messages in thread
From: Mike Playle @ 2008-03-26 18:51 UTC (permalink / raw)
  To: ecos-discuss

Hi all

I've been told by a colleague that RedBoot's debugging support allows
you to attach a remote debugger to a running board after it's been
booted up, with no physical access to the board (eg when it's been
installed at the top of an antenna pole).

However I can't find anything in the documentation describing this.
As far as I can see the GDB support only applies when booting up the
application and won't be much use once the board has been installed
into the final system.

In case it matters the platform in question is an Intel Xscale
(Gateworks Avila board).

Am I missing something?

Regards

Mike Playle

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] RedBoot remote GDB support
  2008-03-26 18:51 [ECOS] RedBoot remote GDB support Mike Playle
@ 2008-03-26 19:01 ` Andrew Lunn
  2008-03-26 19:07 ` Gary Thomas
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2008-03-26 19:01 UTC (permalink / raw)
  To: Mike Playle; +Cc: ecos-discuss

On Wed, Mar 26, 2008 at 06:42:07PM +0000, Mike Playle wrote:
> Hi all
>
> I've been told by a colleague that RedBoot's debugging support allows
> you to attach a remote debugger to a running board after it's been
> booted up, with no physical access to the board (eg when it's been
> installed at the top of an antenna pole).
>
> However I can't find anything in the documentation describing this.
> As far as I can see the GDB support only applies when booting up the
> application and won't be much use once the board has been installed
> into the final system.
>
> In case it matters the platform in question is an Intel Xscale
> (Gateworks Avila board).
>
> Am I missing something?

It depends on your configuration, but ^C on the serial port should
drop you into the gdb stub. Also, try gdb over Ethernet should also
work if you have your IP addresses set up correctly. 

     Andrew

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] RedBoot remote GDB support
  2008-03-26 18:51 [ECOS] RedBoot remote GDB support Mike Playle
  2008-03-26 19:01 ` Andrew Lunn
@ 2008-03-26 19:07 ` Gary Thomas
  2008-03-26 19:23   ` Mike Playle
  1 sibling, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2008-03-26 19:07 UTC (permalink / raw)
  To: Mike Playle; +Cc: ecos-discuss

Mike Playle wrote:
> Hi all
> 
> I've been told by a colleague that RedBoot's debugging support allows
> you to attach a remote debugger to a running board after it's been
> booted up, with no physical access to the board (eg when it's been
> installed at the top of an antenna pole).
> 
> However I can't find anything in the documentation describing this.
> As far as I can see the GDB support only applies when booting up the
> application and won't be much use once the board has been installed
> into the final system.
> 
> In case it matters the platform in question is an Intel Xscale
> (Gateworks Avila board).
> 
> Am I missing something?

It depends on what application you are running.  If it's an
eCos application (not RedBoot itself), then this should work.
If it's Linux (more likely knowing what this board is used for)
then the bets are off.  There are other ways of debugging Linux
applications, but once it's launched, RedBoot is out of the picture.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] RedBoot remote GDB support
  2008-03-26 19:07 ` Gary Thomas
@ 2008-03-26 19:23   ` Mike Playle
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Playle @ 2008-03-26 19:23 UTC (permalink / raw)
  To: Gary Thomas; +Cc: ecos-discuss

Gary Thomas wrote:
> Mike Playle wrote:
>> Hi all
>>
>> I've been told by a colleague that RedBoot's debugging support allows
>> you to attach a remote debugger to a running board after it's been
>> booted up, with no physical access to the board (eg when it's been
>> installed at the top of an antenna pole).
> 
> It depends on what application you are running.  If it's an
> eCos application (not RedBoot itself), then this should work.
> If it's Linux (more likely knowing what this board is used for)
> then the bets are off.  There are other ways of debugging Linux
> applications, but once it's launched, RedBoot is out of the picture.

Thanks! Yes, we're running a Linux application - I should probably
have been clearer about this - I'm asking specifically about RedBoot,
not any debugging support that the application might have.

Mike

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-26 19:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-26 18:51 [ECOS] RedBoot remote GDB support Mike Playle
2008-03-26 19:01 ` Andrew Lunn
2008-03-26 19:07 ` Gary Thomas
2008-03-26 19:23   ` Mike Playle

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 read-only IMAP folder(s) and NNTP newsgroup(s).