how do I switch from one thread to another in the program with gdb......?
how do I switch from one thread to another in the program with gdb......?
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
Also note that watchpoints are particularly useful in thread debugging (on par with breakpoints). Make sure you read about them.
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
this question may sound dumb.. but can I switch into another thread in the middle of execution and start from where it has stoped when the program hit the breakpoint.
for example say i place a break point in thread 1 and when I hit that I want to get sm information there and then switch to thread 2 and take small steps in thread 2 (line next and step). can I do that and if yes how. (I dint find any command for that yet in the link you gave me .......) thanx
The link I gave you gives you the commands for that. How about reading it?
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.