This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: testsuite: Of all the timeouts provided always select the largest
On Wed, Feb 27, 2008 at 03:38:54PM +0000, Maciej W. Rozycki wrote:
> Hmm, I have given it a little bit more thought and I believe it may be
> reasonable for boards to provide their own factors for classes of
> operations, let's say two for a start, corresponding to tranfer and
> execution latencies as noted above. Then each of calling sites might use
> one of them according to operation performed, together, possibly, with a
> factor specific to the requested operation which the class factor would be
> multiplied by. I am not sure if that is not too complicated, but it would
> better match the reality. All the factors might default to 1 for
> simplicity as could call sites with no class annotation (your flag might
> become '-timeout-class').
>
> Any thoughts?
Yes - do you think this extra complexity is really useful? I'm dubious.
--
Daniel Jacobowitz
CodeSourcery