This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Add "long long" tests to whatis.exp
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Subject: Re: [RFA] Add "long long" tests to whatis.exp
- From: Michael Snyder <msnyder at cygnus dot com>
- Date: Fri, 21 Sep 2001 11:15:37 -0700
- CC: gdb-patches at sources dot redhat dot com, fnasser at redhat dot com
- Organization: Red Hat
- References: <3BAA615D.9E0A310D@cygnus.com> <7458-Fri21Sep2001101238+0300-eliz@is.elta.co.il>
Eli Zaretskii wrote:
>
> > Date: Thu, 20 Sep 2001 14:36:29 -0700
> > From: Michael Snyder <msnyder@cygnus.com>
> >
> > 2001-09-20 Michael Snyder <msnyder@redhat.com>
> >
> > * gdb.base/whatis.exp: Add tests for long long.
>
> Are we sure all supported compilers have long long? If not, these
> tests will fail to compile when the test suite is run.
There are at least three other test files in gdb.base that
unconditionally declare a long long:
long_long.c
varargs.c
return2.c
I haven't heard anything about them failing to compile
in some environments, but if they do, then we need a
general mechanism for dealing with the problem.
Michael