gdb-gdbserver, non-stop, async - thread identifier more than only a thread id?
D. Lehne
daniel.lehne@amk-drives.bg
Mon Jul 11 05:58:00 GMT 2011
On 06.7.2011 г. 23:57, Tom Tromey wrote:
>>>>>> "D" == D Lehne<daniel.lehne@amk-drives.bg> writes:
> D> There are 3 threads, but it isn't clear which thread represents which
> D> functionality (fucntion call) . When a thread is created, isn't it
> D> possible to refer the first function call on stack as an reference
> D> name of a thread?
>
> I guess it would be possible, but I don't know if it is desirable.
>
> You can name threads manually now. So, you could perhaps script this if
> you wanted.
>
> Tom
>
>
Hello,
Thanks for your opinions and advises !
>The command is "thread name", see [1]
>[1]http://sourceware.org/gdb/current/onlinedocs/gdb/Threads.html
... was an unknown field for me. So i will script this in .gdbinit.
Best regards!
--
D. Lehne
Dep. Development
AMK Drives and Controls Ltd.
Bulgaria / Gabrovo
More information about the Gdb
mailing list