This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix watch_thread_num testcase for ppc32
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Luis Machado <luisgpm at linux dot vnet dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 8 Jan 2008 20:15:08 -0800
- Subject: Re: [patch] Fix watch_thread_num testcase for ppc32
- References: <1199849652.22083.20.camel@gargoyle>
> The watch_thread_num.exp testcase was timing out on a number of
> iterations for PPC32, while giving a full pass for PPC64. Removing the
> usleep(1) call fixed the problem. It gives full passes for both PPC
> 32/64.
Would you mind sending the log files when it times out? I don't
understand why removing the usleep fixes the problem. I'm a bit
concerned with removing this delay because the thread would then
be free to eat up all the CPU, and the test is creating quite a
number of them...
Thanks,
--
Joel