On 30 Nov 2005, at 10:58, Thomas Engelmeier wrote:
gdb seems to be interpreting BOOL types as pointers - in both the
console and the variable viewer, they're being given as (for
instance) 0x1000000.
bool types (note the lowercase) are interpreted normally, and
appear as 'true' or 'false'.
What happens is pretty apparent if you look at the definitions of
BOOL (defined in <objc/objc.h>) and Boolean (<Corefoundation/
CFBase.h>).
Both are typedef'd as {un}signed char, so the debugger has no
chance to display anything but contents of an char.
Except it's not being displayed as the contents of a char.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden
This email sent to email@hidden