This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: info threads command from gdb


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]