This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: info thread
- From: Daniel Jacobowitz <drow at false dot org>
- To: Denis PILAT <denis dot pilat at st dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Mon, 18 Sep 2006 09:20:23 -0400
- Subject: Re: info thread
- References: <450E56B0.806@st.com>
On Mon, Sep 18, 2006 at 10:20:00AM +0200, Denis PILAT wrote:
> Sol 1 - developping a new MI command that gives the above target extra
> information only (ie -thread-list-extra-info) of implementing a
> non-implemented one with a parameter.
> I see in the doc that -thread-list-all-threads is not specified for
> instance.
>
> Then we need to modify Eclipse so that it uses MI command
> "-thread-list-ids" plus this command to get all he needs.
> This can be an Eclipse contribution as well, I need to ask to Eclipse
> maintainer as well.
I think this is the only one of the three which is sensible for
inclusion, though I can't quite parse your grammar.
I think we've got two visible options: make -thread-list-all-threads
do exactly what you want, without stack information, or make
-thread-info return the target extra info for the thread. Either
makes sense to me. Might as well make -thread-list-all-threads
do it.
--
Daniel Jacobowitz
CodeSourcery