This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: info threads command from gdb
- To: Phung Te Ha <phungte at yahoo dot com>
- Subject: Re: [ECOS] info threads command from gdb
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 01 May 2001 03:38:38 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- References: <20010501021353.21474.qmail@web12107.mail.yahoo.com>
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