[RFC] Avoid using sprintf in the testsuite
Mark Kettenis
mark.kettenis@xs4all.nl
Sun Mar 20 21:28:00 GMT 2005
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
More information about the Gdb-patches
mailing list