[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-debug-dev] Remove timeouts in CDT?
|
> IMHO the timeouts should stay. It's possible for GDB, whether through =
> fault of its own or hardware drivers etc., to get in a state where it =
> hangs but you can't seem to kill it.
>
> That being said, we find it really hard to pick a good timeout. When =
> erasing flash and then loading a large amount of code/data into flash, =
> the default timeouts are sometimes not enough.
I'm of the opinion that it is not practical to point to GDB when CDT is
unable to terminate a debug session. This must be fixed in CDT.
Assuming that CDT was changed to always be able to terminate a GDB
session, would you agree that the timeout should be removed?
Hmmm... perhaps there should be a non-configurable timeout for a
terminate request of e.g. 5 seconds, after which CDT would simply
terminate the GDB process.
This is the desired behaviour for embedded applications at least. Does
CDT support letting a plugin enforce the behaviour described above?
--
Øyvind Harboe
http://www.zylin.com