This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Should gdb know "short unsigned int"?
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: Should gdb know "short unsigned int"?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 10 Oct 2001 17:17:28 -0400
- Cc: GDB <gdb at sourceware dot cygnus dot com>
- References: <20011002155817.A6952@lucon.org>
> 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.
Andrew