You're right.

(gdb) po $rdi
Value can't be converted to integer.
(gdb) po *(int *)($ebp+8)
Cannot access memory at address 0x1
(gdb)

On Apr 22, 2009, at 4:16 PM, Nick Zitzmann wrote:


On Apr 22, 2009, at 2:13 PM, Daniel Child wrote:

Well, I think so. I thought all Core2 Duos run 64-bit.

Yes, but what is the architecture of your program? Is it i386 or is it x86_64? If it's the former, then it is not an Intel 64 program. If you don't know, then it's probably i386.

Also, tried the Intel 32-bit, and that also said it couldn't be converted to an integer.


Did you try it exactly as I wrote it earlier? And are you running the command just after the debugger breaks?

Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to