* Should gdb know "short unsigned int"?
@ 2001-10-02 15:58 H . J . Lu
2001-10-10 14:18 ` Andrew Cagney
0 siblings, 1 reply; 3+ messages in thread
From: H . J . Lu @ 2001-10-02 15:58 UTC (permalink / raw)
To: GDB
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
H.J.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Should gdb know "short unsigned int"?
2001-10-02 15:58 Should gdb know "short unsigned int"? H . J . Lu
@ 2001-10-10 14:18 ` Andrew Cagney
2001-10-10 16:04 ` H . J . Lu
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2001-10-10 14:18 UTC (permalink / raw)
To: H . J . Lu; +Cc: GDB
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Should gdb know "short unsigned int"?
2001-10-10 14:18 ` Andrew Cagney
@ 2001-10-10 16:04 ` H . J . Lu
0 siblings, 0 replies; 3+ messages in thread
From: H . J . Lu @ 2001-10-10 16:04 UTC (permalink / raw)
To: Andrew Cagney; +Cc: GDB
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-10-10 16:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-02 15:58 Should gdb know "short unsigned int"? H . J . Lu
2001-10-10 14:18 ` Andrew Cagney
2001-10-10 16:04 ` H . J . Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox