* [ECOS] How do I view the threads running in my target ?
@ 2004-04-23 14:17 mohasin.zaki
2004-04-23 18:26 ` Gary Thomas
0 siblings, 1 reply; 2+ messages in thread
From: mohasin.zaki @ 2004-04-23 14:17 UTC (permalink / raw)
To: ecos-discuss
Hi eCos experts,
I would like to know how I can view the threads running in the target.
My target is x86 PC. I booted it through floppy containing the Redboot boot image.
I was able to connect to the target using GDB and was even able to load and run some of the sample applications.
But the problem I am facing here is that, when I "load" a application program and do a "continue", the currently running threads output is coming on the gdb console. I am not able to push this to the background and all the existing threads in the system.
I have done this in vxWorks, where I was able to view all the currently running tasks(threads) in the target, see their stack usage, suspend and resume the same.
How can I achieve the same in this case ?.
Thanks for all you help, in advance.
With Regards,
Mohasin
--
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] 2+ messages in thread
* Re: [ECOS] How do I view the threads running in my target ?
2004-04-23 14:17 [ECOS] How do I view the threads running in my target ? mohasin.zaki
@ 2004-04-23 18:26 ` Gary Thomas
0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2004-04-23 18:26 UTC (permalink / raw)
To: mohasin.zaki; +Cc: ecos-discuss
On Fri, 2004-04-23 at 07:14, mohasin.zaki@wipro.com wrote:
> Hi eCos experts,
>
> I would like to know how I can view the threads running in the target.
>
> My target is x86 PC. I booted it through floppy containing the Redboot
> boot image.
>
> I was able to connect to the target using GDB and was even able to load
> and run some of the sample applications.
>
> But the problem I am facing here is that, when I "load" a application
> program and do a "continue", the currently running threads output is
> coming on the gdb console. I am not able to push this to the background
> and all the existing threads in the system.
>
> I have done this in vxWorks, where I was able to view all the currently
> running tasks(threads) in the target, see their stack usage, suspend and
> resume the same.
>
> How can I achieve the same in this case ?.
The GDB command 'info threads' will give you information about the
current threads. You can also select a thread and then interrogate
it separately.
Refer to the GDB documentation for full details.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
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] 2+ messages in thread
end of thread, other threads:[~2004-04-23 14:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-23 14:17 [ECOS] How do I view the threads running in my target ? mohasin.zaki
2004-04-23 18:26 ` Gary Thomas
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).