• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question about using GDB from the command line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about using GDB from the command line


  • Subject: Re: Question about using GDB from the command line
  • From: Steve Checkoway <email@hidden>
  • Date: Wed, 28 Jun 2006 15:18:51 -0700


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 ()

-- 
Steve Checkoway



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Question about using GDB from the command line (From: "Brant Sears" <email@hidden>)

  • Prev by Date: RE: breakpoints don't work
  • Next by Date: How am I supposed to figure this out?
  • Previous by thread: Re: Question about using GDB from the command line
  • Next by thread: RE: Question about using GDB from the command line
  • Index(es):
    • Date
    • Thread