• 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: GDB frustration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB frustration


  • Subject: Re: GDB frustration
  • From: Eric Albert <email@hidden>
  • Date: Thu, 19 Jan 2006 16:04:45 -0800

On Jan 19, 2006, at 3:28 PM, David Litwin wrote:

Now even that is failing me.  I’ve stepped into a cast operator and can’t get Xcode to show me any disassembly.  The GDB console puts up the message:

Unable to disassemble Foo::operator Bar.

When I type “disassem $pc” I get:

No function contains specified address

 

It would be wonderful if the debugger could help me walk through my code, but failing that could it at least show me what instruction I am about to perform by typing “stepi”?  I would think the disassem command would disassemble the memory passed to it, but it seems to just look within the loaded code for it…

This will show you the next instruction:
x /i $pc
Or, to display that at every prompt:
display /i $pc

Hope this helps,
Eric

 _______________________________________________
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: 
 >GDB frustration (From: "David Litwin" <email@hidden>)

  • Prev by Date: RE: Help debugging a framework
  • Next by Date: Re: GDB frustration
  • Previous by thread: GDB frustration
  • Next by thread: Re: GDB frustration
  • Index(es):
    • Date
    • Thread