Re: help needed in debug please



"pmm" <muralipmanohar@xxxxxxxxxxx> writes:
> I am working on a router which is Coded in ansi C ,it uses number of
> semaphores,threads
> I want to know that how can we know what threads are currently alive
> in a program being executed ,I do not have the support of <bold> GDB on
> my target board ,not even gdbserver,</bold> my way is very crude by
> placing print stmts in between the line and knowing the status.
> kindly suggest me a way to know what threads are alive as one of then
> throwing a segfault I am not able to determine which one
> thanks in advance

Standard C has no support for threads. Try a newsgroup specific to
your system, or perhaps comp.programming.threads.

--
Keith Thompson (The_Other_Keith) kst-u@xxxxxxx <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
.



Relevant Pages

  • compile error on alpha - binutils problem?
    ... {standard input}:246: Error: macro requires $at register while noat in effect ... # PCCARD support ...
    (Linux-Kernel)
  • Re: Directory reading
    ... "VIP Star" is a troll who seeks to disrupt the newsgroup, ... by the standard that defines the C programming language. ... support in future revisions of the standard, ...
    (comp.lang.c)
  • Re: New Ethiopian Find - Oldest Biped At 3.8-4 mya
    ... >> This is not an example of a double standard. ... > criticise arguments you don't support for not ... *elimination of human hair as it relates to swimming. ... primarily--neither set out to address hair reduction) required a rather ...
    (sci.anthropology.paleo)
  • Re: So, they started synthesizing shared variables?
    ... The standard gives users something to ask your vendor to implement. ... in this case is not VHDL compliant. ... WRT support and not support, the 2004 approach is identical to the ... coding styles that would be accepted by a compliant synthesis tool. ...
    (comp.lang.vhdl)
  • Re: porting from C++Builder
    ... and I do believe that standard support of PME ... the java was growing and, obviously, microsoft initially tried to ...
    (microsoft.public.dotnet.languages.vc)