--------
> Hello All,
> 
> I seem to vaguely remember some conversations about this in the past, but I 
> can't find anything.  I have a question concerning the use of ddd (GDB) on 
> SMP systems.
> 
> If I set a breakpoint in my code, hit the breakpoint, look at a few locals 
> and then continue, 3 out of 4 times my target system "dies" in a bottom half 
> synchronization handler.  It's almost as if when I hit my break, GDB is only 
> stoping the processor running my code and the other proc continues to run.
> 
> If I rebuild my kernel without SMP support, all is fine and I can break and 
> examine all I want.  Also, if I use printk's in the SMP kernel, all is fine 
> and I do not encounter the failure.
> 
> Are there any "tricks" to using GDB with SMP kernels?

I don't recall gdb being mention wrt SMP; I do recall gdb and THREADS. The 
answer in that case was "get the latest version."

This same advice is a good starting-point for you too.




_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to