This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH]: Promote float args on i386 (attn Hurd, Cygwin, DJGPP...)
J.T. Conklin wrote:
>
> >>>>> "Michael" == Michael Snyder <msnyder@cygnus.com> writes:
> >> Could you please identify the tests in the test suite, or post a short
> >> test program and a GDB session script, that could be used to test this
> >> problem?
>
> Michael> make check RUNTESTFLAGS=callfuncs.exp
> Michael> FAIL: gdb.base/callfuncs.exp: p t_float_values(3.14159,-2.3765)
> Michael> FAIL: gdb.base/callfuncs.exp: p t_float_values(float_val1,float_val2)
> Michael> FAIL: gdb.base/callfuncs.exp: p t_float_values(3.14159,float_val2)
> Michael> FAIL: gdb.base/callfuncs.exp: p t_float_values(float_val1,-2.3765)
> Michael> FAIL: gdb.base/callfuncs.exp: p t_float_values2(3.14159,float_val2)
>
> These test pass without your patch on NetBSD/i386. I have not tried adding
> your patch to see if they continue to pass. Would you like me to do so?
If you wouldn't mind -- but I would expect it to fail.
Looks like I must use a far less global approach, and
apply the patch to specific system tm-???.h files.