Re: Backtrace of every the threads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> [2016-02-10T14:35:33+0530]: "Ricardo Ribalda Delgado" (ricardo-delgado):

,----[ ricardo-delgado ]
| Luckily, the error is gone now :). but I was wondering if there is a
| way to show the backtrace of ALL the threads in the system, which
| could have been a wonderful tool to debug this issue.
`----
from the gdb info page:

In a multi-threaded program, gdb by default shows the backtrace only for
the current thread. To display the backtrace for several or all of the
threads, use the command thread apply (see thread apply). For example,
if you type thread apply all backtrace, gdb will display the backtrace
for all the threads; this is handy when you debug a core dump of a
multi-threaded program.

hope that's what you are looking for ?

--

kind regards
anupam

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux