This is an archive of the discontinued LLVM Phabricator instance.

Increase default packet timeout for android to 20s
ClosedPublic

Authored by tberghammer on Feb 24 2015, 2:34 AM.

Details

Summary

Increase default packet timeout for android to 20s

It is required because of the unreliable speed of the adb communication and the android emulator.

Diff Detail

Repository
rL LLVM

Event Timeline

tberghammer retitled this revision from to Increase default packet timeout for android to 20s.
tberghammer updated this object.
tberghammer edited the test plan for this revision. (Show Details)
tberghammer added reviewers: ovyalov, vharron.
tberghammer added a subscriber: Unknown Object (MLST).
ovyalov edited edge metadata.Feb 24 2015, 10:33 AM

Please see my comments.

source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
44 ↗(On Diff #20584)

Could you add secs suffix to this variable?

44 ↗(On Diff #20584)

If there is no existing use cases to modify this variable I'd rather declare it as constexpr within anonymous namespace.

tberghammer edited edge metadata.
tberghammer added inline comments.
source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
44 ↗(On Diff #20584)

Renamed to g_default_packet_timeout_sec

44 ↗(On Diff #20584)

As far as I know constexpr is not supported by MSVC but I made these variables const.

ovyalov accepted this revision.Feb 25 2015, 2:23 PM
ovyalov edited edge metadata.
This revision is now accepted and ready to land.Feb 25 2015, 2:23 PM
This revision was automatically updated to reflect the committed changes.