Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Support for "target-detach" and "target-disconnect"

On 14/04/2010 2:56 PM, Marc Khouzam wrote:
Maybe the same action can be used for both behaviors?  We would
base ourselves on the debug context.

Currently, for DSF-GDB, the disconnect action does the following:
1- If a process (or one if its threads or frames) is selected, the
action would do 'detach' of that process.  This is useful for
multi-process debugging.
2- If the launch is selected we exit gdb altogether

#2 is a duplication of what the terminate button does.
So, when the launch is selected, the terminate and disconnect
actions do the same thing.
How about making the disconnect action call 'disconnect' in this case?
Would that be enough for your use-case?

Marc
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

You still need a "detach" on the launch level, it will translate to "target-detach" without parameters. I would also prefer to use the same action but those who used to GDB commands would complain. In fact the original complaint was that we didn't support "detach" because it was hidden under the "Disconnect" action.



Back to the top