public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] info threads command from gdb
@ 2001-04-30 19:14 Phung Te Ha
  2001-04-30 19:38 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Phung Te Ha @ 2001-04-30 19:14 UTC (permalink / raw)
  To: ecos-discuss

Hi everyone,
	I am porting eCos to a custom board and currently
looking at
debugging tools. There are 2 points I'm a bit
confused, if someone can help:
	1. Thread list: although thread list has been turned
on, it looks
like the command "info threads" from gdb gives
nothing. I fall back to the
linux simulator and it behaves the same: run the
example "twothreads" ,
ctrlc it and run "info threads", the command comes
back with nothing.
	2. ^C support: is this supported on all platforms.
The one I'm based
on is edb7xxx, is it supported on this particular one?

Thanks.

Phungte



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

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

* Re: [ECOS] info threads command from gdb
  2001-04-30 19:14 [ECOS] info threads command from gdb Phung Te Ha
@ 2001-04-30 19:38 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-04-30 19:38 UTC (permalink / raw)
  To: Phung Te Ha; +Cc: ecos-discuss

Phung Te Ha wrote:
> 
> Hi everyone,
>         I am porting eCos to a custom board and currently
> looking at
> debugging tools. There are 2 points I'm a bit
> confused, if someone can help:
>         1. Thread list: although thread list has been turned
> on, it looks
> like the command "info threads" from gdb gives
> nothing. I fall back to the
> linux simulator and it behaves the same: run the
> example "twothreads" ,
> ctrlc it and run "info threads", the command comes
> back with nothing.

Linux would indeed not do anything. You may be using old GDB stubs in the
edb7xxx flash that may not support thread debugging unless you enable
"Include GDB stubs" in your downloaded application. You can either enable
that option in your configuration, or perhaps consider switching to RedBoot
- see http://sources.redhat.com/ecos/ and click on Supported Hardware, and
then the "More Info" link for your board. That will point you at RedBoot
binaries to program into Flash in the same way as the GDB stubs.

>         2. ^C support: is this supported on all platforms.
> The one I'm based
> on is edb7xxx, is it supported on this particular one?

Yes.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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

end of thread, other threads:[~2001-04-30 19:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-30 19:14 [ECOS] info threads command from gdb Phung Te Ha
2001-04-30 19:38 ` Jonathan Larmour

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).