Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] [DSF] new context with stack frames

If your board doesn't have any threads, I would not have it implement IContainerDMContext, since it's not a process, I wouldn't make it implement IProcessDMContext either (no need for IProcesses service). It should be enough to have it only implement IExecutionDMContexts. In the VM you may be able to re-use AbstractThreadsVMNode or you may need to create a stripped down version of it.

Cheers,
Pawel

On 05/27/2010 02:25 PM, Ling.5.Wang@xxxxxxxxx wrote:
Hi, Pawel and others,

I'm trying to add a debug context representing a bare board, which is not a process nor thread. In Debug View I'd like to show the context under launch with stack frames directly under it, namely it's like a "thread" entry but without a "process" parent. How can I achieve that ?

I tried creating the context as IProcessDMContext and/or IContainerDMContext, the conext showed up fine but I haven't found a way to let VM hook stack frames directly under it.

Thanks for any pointer.

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



Back to the top