> The printing of array elements seems to be broken in the gdb version that
> comes with PRC Tools 2.0.
> 
> Some examples to illustrate what works and what doesn't:
> 
> (gdb) p *x
> $20 = 53
> (gdb) p x[0]
> $21 = -1
> (gdb) p x
> $22 = (short *) 0xbee2
> (gdb) p x + 0
> $23 = (short *) 0x0
> (gdb) p *x@3
> $24 = {53, 85, 0}
> 
> Does anyone know of a fix? The FOO@NUM syntax is a bit cumbersome to use
> in some situations, and I really want to debug those arrays.
> 
> // Niklas
> 
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to