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 at redhat dot com (Frank Ch. Eigler)
- To: Mark Kettenis <kettenis at gnu dot org>
- Cc: gdb-patches at sourceware dot org
- Date: 17 Mar 2005 16:46:30 -0500
- Subject: Re: [RFC] Avoid using sprintf in the testsuite
- References: <200503172111.j2HLBnk9024999@elgar.sibelius.xs4all.nl>
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.
- FChE