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: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: Should gdb know "short unsigned int"?
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Wed, 10 Oct 2001 16:04:07 -0700
- Cc: GDB <gdb at sourceware dot cygnus dot com>
- References: <20011002155817.A6952@lucon.org> <3BC4BAE8.6070205@cygnus.com>
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.