This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Avoid using sprintf in the testsuite
From: fche@redhat.com (Frank Ch. Eigler)
Date: 17 Mar 2005 16:46:30 -0500
Mark Kettenis <kettenis@gnu.org> writes:
> Using sprintf in the testsuite causes problems with the upcoming
> OpenBSD 3.7. The warning about its usuge printed by the linker makes
> us think the compilation failed. [...]
Perhaps instead gdb's testsuite should adopt gcc's warning-pruning
code: see for example gcc/testsuite/lib/prune.exp.
Better yet, I should add OpenBSD linker warning pruning to DejaGnu
itself. Thanks for the suggestion. I withdraw the patch.
Mark