Use timeval helpers 80/4380/2
authorChristopher Head <chead@zaber.com>
Wed, 24 Jan 2018 22:35:40 +0000 (14:35 -0800)
committerFreddie Chopin <freddie.chopin@gmail.com>
Thu, 25 Jan 2018 16:43:49 +0000 (16:43 +0000)
commit2428722a23d8a08b15331ab95884762e5f329a02
tree1cb2324b2c7b02945369b53c5704ad936969e824
parente0fc7a54f287aad414b373410e09faa048f3a9dd
Use timeval helpers

Some of these changes actually fix broken comparisons which could
occasionally fail. Others just clean up the code and make it more clear.

Change-Id: I6c398bdc45fa0d2716f48a74822457d1351f81a5
Signed-off-by: Christopher Head <chead@zaber.com>
Reviewed-on: http://openocd.zylin.com/4380
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/jtag/drivers/presto.c
src/target/cortex_m.c
src/target/embeddedice.c
src/target/openrisc/or1k.c
src/target/target.c
src/target/xscale.c