Backtrace of every the threads

Ricardo Ribalda Delgado ricardo.ribalda at gmail.com
Wed Feb 10 04:36:30 EST 2016


Hi Anupam

On Wed, Feb 10, 2016 at 10:20 AM, Anupam Kapoor <anupam.kapoor at gmail.com> wrote:
>
>
> 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 ?

Unfortunately not :( But thanks for trying :)

Core was generated by `BOOT_IMAGE=/boot/bzImage
root=PARTUUID=35F607FE-605D-457B-AE13-5D1099C5F266 roo'.
#0  0x0000000000000000 in irq_stack_union ()
(gdb)
(gdb)
(gdb) info  threads
  Id   Target Id         Frame
* 1    process 1         0x0000000000000000 in irq_stack_union ()
(gdb)  thread apply all backtrace
Thread 1 (process 1):
#0  0x0000000000000000 in irq_stack_union ()
#1  0x0000000000000000 in ?? ()
(gdb)


>
> --
>
> kind regards
> anupam



-- 
Ricardo Ribalda



More information about the Kernelnewbies mailing list