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: Thread names in gdb7.7(using info threads command)


On 07/17/2014 06:07 PM, Sreejith M M wrote:

> I am trying to see thread names in gdb. Thread names are  defined with
> 
>   prctl (PR_SET_NAME, "Mythread2", 0, 0, 0); //MyThread2 is my thread name
> 

...

> the thread name after the application generates a core dump when I
> load core file using core-file command.

> I would like to understand how I can see the thread names when from
> the core file generated by the application

Unfortunately, I don't think this information is stored anywhere in the
core dump.

-- 
Thanks,
Pedro Alves


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