[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-debug-dev] Thread names in CDT debug view?
|
The way we determine native thread names in GDB is by using the "info threads" GDB
command implemented in a custom GDB remote target connection. I believe that this
approach is quite common in the embedded world. On Solaris, the "info threads" GDB
command reports the Solaris LWP id. I don't remember what OS information "info
threads" reports on Linux and Windows.
Best regards,
Stefan Bylund
Alain Magloire wrote:
> >
> > The standard CDT debug view shows the GDB thread IDs of the debugged application
> > (e.g. "Thread[7] (Suspended)"). Instead of showing the GDB thread IDs, I want to
> > show the thread names (e.g. "Thread[<threadname>] (Suspended)") as is done in
> > the standard JDT debug view for Java threads. This is much more useful if the
> > target OS supports thread naming and you have a large amount of threads in your
> > application. Is there an extension point for this purpose? If not, which CDT
> > method(s) should I modify to get this behaviour?
> >
>
> How do you retrieve thread name in gdb on your platform ?
>
> _______________________________________________
> cdt-debug-dev mailing list
> cdt-debug-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
begin:vcard
n:Bylund;Stefan
tel;cell:+46 709 714 325
tel;work:+46 8 507 143 25
x-mozilla-html:FALSE
url:http://www.ose.com
org:OSE Systems
adr:;;Nytorpsvägen 5;Täby;;183 23;Sweden
version:2.1
email;internet:steby@xxxxxxx
title:Software Engineer
fn:Stefan Bylund
end:vcard