[RFA/testsuite] Stop sharing .c file between 2 testcases

Andrew Cagney cagney@gnu.org
Fri Oct 29 19:43:00 GMT 2004


Joel Brobecker wrote:
> I just read in one thread that we don't want to share .c files between
> testcases. This reminded me of a testcase I recently added which did
> use the .c file from another testcase... This patch should fix it.
> 
> 2004-10-29  Joel Brobecker  <brobecker@gnat.com>
> 
>         * gdb.threads/bp_in_thread.c: New file, copied from
>         pthread_cond_wait.c.
>         * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
>         file, rather than using the .c file of another testcase.
> 
> Tested on x86-linux. Ok to apply?

Right, "obvious".  Good catch.

Andrew



More information about the Gdb-patches mailing list