Should gdb know "short unsigned int"?

H . J . Lu hjl@lucon.org
Wed Oct 10 16:04:00 GMT 2001


On Wed, Oct 10, 2001 at 05:17:28PM -0400, Andrew Cagney wrote:
> > Should gdb know "short unsigned int"? I got
> > 
> > (gdb) p (short unsigned int) 10
> > A parse error in expression, near ` int) 10'.
> > (gdb) p (unsigned short int) 10
> > $3 = 10
> 
> Does this still occure?  MichaelS recently did some cleanups to do with 
> C's parser.
> 
> If it does can you please at least file a bug report.
> 

I don't know. Is the fix in gdb 5.1?


H.J.



More information about the Gdb mailing list