Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] Remove timeouts in CDT?

> > >I do not understand what must be fix in the CDT, if gdb stops responding
> > >for x number of reason, what exactly do you propose ?
> > 
> > Kill the process.
> > 
> > CDT already has a tiny amount of native code per platform.
> > 
> 
> As folks been saying, killing, is not necessarly the right action to take.
> Sometimes gdb can recuparate and the session can still continue.
> Killing 'til now was considered to be the last action and the kind of action
> that only a user could take, not something that the CDT code should do

Couldn't "Terminate" be considered a permission to kill GDB if it does
not immediately cooperate?



> automatically because on commands timeout or exceptions, we would provoke lots of frustation,
> if we decide to just kill gdb when things go wrong.

Except for "Terminate", I believe that the CDT behavior is correct and
that it should not terminate GDB when it is being unresponsive.



-- 
Øyvind Harboe
http://www.zylin.com




Back to the top