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: Report current thread in -thread-list-ids output


On Friday 30 January 2009 16:39:42, Vladimir Prus wrote:
> 
> This patch makes the MI -thread-list-ids report the current thread.
> It is advantageous for a frontend like Eclipse, that does not report
> any details about a thread whatsoever except for the id, and whether
> a thread is selected. If -thread-list-ids reports current thread, then
> Eclipse can use -thread-list-ids as opposed to 'info thread', and be
> a little bit faster.
> 
> The change in thread.c actually touches MI-only function, so I assume
> I'm free to make this change.

In any case, it looks good to me.  This fixes PR8145,

<http://sourceware.org/bugzilla/show_bug.cgi?id=8145> .

> Eli, does the doc change look good? 

-- 
Pedro Alves


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