On Jun 28, 2006, at 12:27 PM, Brant Sears wrote: When I am at a breakpoint on the command line, how can I change which thread I am examining? In XCode debugger, there is a popup list to choose which thread, but I don't know the GDB command for this and I can't seem to find it using the GDB help system.
(gdb) info threads 11 process 735 thread 0xc303 0x9000b0a8 in mach_msg_trap () 10 process 735 thread 0xa607 0x9000b0a8 in mach_msg_trap () 9 process 735 thread 0xa503 0x9002c128 in semaphore_wait_signal_trap () 8 process 735 thread 0xa403 0x9002c128 in semaphore_wait_signal_trap () 7 process 735 thread 0xa203 0x90054fc8 in semaphore_timedwait_signal_trap () 6 process 735 thread 0xa103 0x9002c128 in semaphore_wait_signal_trap () 5 process 735 thread 0x9f03 0x90054fc8 in semaphore_timedwait_signal_trap () 4 process 735 thread 0x700b 0x90040eb8 in mach_wait_until () 3 process 735 thread 0x6a03 0x9000b0a8 in mach_msg_trap () 2 process 735 thread 0x3503 0x90040eb8 in mach_wait_until () * 1 process 735 local thread 0xf03 0x9000b0a8 in mach_msg_trap () (gdb) thread 2 [Switching to thread 2 (process 735 thread 0x3503)] 0x90040eb8 in mach_wait_until ()
|