This is the mail archive of the gdb@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: gdb-gdbserver, non-stop, async - thread identifier more than only a thread id?


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


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