• 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: View variable as memory?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: View variable as memory?


  • Subject: Re: View variable as memory?
  • From: Jared Watts <email@hidden>
  • Date: Wed, 5 Nov 2003 12:55:50 +1300

In the GDB console type:

	print (char[size]) variable_name

replacing size and variable_name with the appropriate values.

Regards,

Jared Watts.


On 05/11/2003, at 11:53 AM, Eric Kampman wrote:

I never figured this out in PB either. Is it possible to coerce the debugger to view a char* as an array of char? What I'm basically looking for is something that's roughly equivalent to "x" (examine memory) in gdb.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >View variable as memory? (From: Eric Kampman <email@hidden>)

  • Prev by Date: Re: View variable as memory?
  • Next by Date: Re: wchar link problems building for jaguar
  • Previous by thread: Re: View variable as memory?
  • Next by thread: Re: View variable as memory?
  • Index(es):
    • Date
    • Thread