This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: testsuite: Of all the timeouts provided always select the largest


On Tue, Feb 26, 2008 at 8:09 AM, Maciej W. Rozycki <macro@mips.com> wrote:
>   All the callers would have to be updated and unfortunately the dependency
>  may not necessarily be linear.  For example for a fast target accessed
>  through a slow port the factor for transferring data through, such as
>  downloading a program image, would have to be higher than for a slow
>  target accessed through a fast port.  Contrariwise the factor applied to
>  actions involving execution on the respective systems.  In general I do
>  agree it is a good idea, but that is a lot of work that best be well
>  thought before commencing.

All true, except for the "all callers" part, I think: couldn't
gdb_expect recognize a '-timeout-factor' flag as its first argument?
Then we could update call sites as we came across them.

It's certainly not linear, but linear is better than constant, surely.
 For the sake of setting timeouts, we only need an upper bound.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]