This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


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

Re: help me


Balasubramanian S wrote:
> 
> Iam using gdb for debugging c++ code
> i run the program .My program has threads
> i want to know the status of the thread
> After running the program , i just typed
> the command info threads .The output
> is "No stack" .I dont know why it shows
> no stack .Please help me by providing
> some information
> 

Bala,

You forgot to mention that you have set a breakpoint somewhere
and that your program has stopped at that breakpoint, right?

If you program runs to the end all the execution context is 
diacarded and there is "No stack".


-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

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