What's wrong with this code? long long then=timeval_ms(); while ((timeval_ms()-then)<duration)
This appears many places in the code. comparision will work unless the difference is greater than 31/63 bits in signed mode... The changes to target/* are a mix between 32 and 64 bit target handling... I'd rather have a discussion first on how to handle 32 & 64 bit targets rather than tinkering with that code piecemeal as we can easily break something. -- Øyvind Harboe Embedded software and hardware consulting services http://consulting.zylin.com _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development