This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Fix broken test in callfuncs.c
- From: Michael Snyder <msnyder at cygnus dot com>
- To: Fernando Nasser <fnasser at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 03 Dec 2001 11:02:08 -0800
- Subject: Re: [RFA] Fix broken test in callfuncs.c
- Organization: Red Hat
- References: <200111072216.fA7MG2m20577@reddwarf.cygnus.com> <3BE9B778.41F2B7C@redhat.com>
Fernando Nasser wrote:
>
> Michael Snyder wrote:
> >
> > Hello,
> >
> > I just noticed that this test was broken by a change in mid-1999.
> > This test has always contained two versions of the function
> > 't_float_values': one that is prototyped (ANSI-style) and one
> > that is not (K&R style). This is because the K&R version involves
> > promotion of floats to doubles, and the ANSI version does not,
> > and GDB sometimes has problems determining what to do.
> >
> > The change in 1999 ANSI-fied all of the functions which
> > defeated the purpose of having this specific function non-ANSIfied.
> > I want to revert just that part of the change.
> >
> > Michael
> >
>
> Makes sense to me.
Committed.