Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] target unexpectedly stops on a SIGINT while setting breakpoint on running target

At 10:49 AM 3/4/2010, Daniel Jacobowitz wrote:
On Thu, Mar 04, 2010 at 11:15:40AM -0500, Marc Khouzam wrote:
> We only use async mode when using non-stop. I did consider making the switch
> but two things stopped me:
>
> 1- lots of regression testing since everything would be using asych GDB mode
> instead of the traditional synch mode.
> 2- We still need to support older GDBs (we support 6.6 and up), so we'd still
> need to keep the code for the sync mode.
>
> If it is a big enough problem, we could give it a try for GDB 7.0 and fix the problem
> there only, but I'm not sure it is worth the effort.

Only my two cents, but I don't like thinking about the situation this
way.  If we want to give users the best experience, we need to be
aggressive about taking advantage of newer features in GDB.

I think that's an over simplification of this particular situation. Taking advantage of a new feature is one thing. Altering something as fundamental as how the debugger interacts with gdb (for all commands) in order to address one particular issue...that's another story. Now, I think the issue in this case is serious enough to warrant considering the option, but it makes sense to me that we would be cautious, even hesitant.



Back to the top