This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC GDB Linux Awareness analysis


On Wed, Sep 30, 2015 at 1:02 AM, Peter Griffin <peter.griffin@linaro.org> wrote:
> Something which I believe is missing currently is the ability to add a new thread
> via the python interface. Is that something you would consider appropriate?

I think it's appropriate conceptually.
"How" is the tricky part.

> By way of example, currently the kernel python scripts add a "lx-ps" which
> parses the task_structs, and builds a list of threads. This is the beginning
> of task-awareness in python, but currently the list is simply printed
> out.
>
> Being able to either return this thread list to GDB, or actually create thread
> objects inside GDB via the python interface would appear to be the next logical
> step.
>
>
>> Can we proceed by making "do it in python" the default choice,
>> and then address each issue as needed?
>
> Ok, sounds good to me. This was also my gut feeling when starting this
> analysis, but to have it confirmed by you is encouraging :).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]