This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] xstormy16-tdep.c: Set chars to unsigned
On Tue, Mar 25, 2003 at 06:24:07PM -0500, Andrew Cagney wrote:
> >print/d (int) (char) -1^M
> >$11 = 255^M
>
> But were they normal before this patch? I.e., did the patch affect this
> test's results?
No, these tests returned the same results with and without my patch.
> If they didn't then there is a bug in the sizeof.exp test since it is
> ment to check that GDB/target agree on the basics.
Just a guess: The sizeof tests are using numerical constants. The
charset tests are using character strings. The evaluation is subtly
different in that the evaluation of character strings require the
target being active. There's a part of interaction not required for
the tests used in sizeof.exp.
Corinna
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen at redhat dot com