Re: Backtrace of every the threads

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

 



Hi Anupam

On Wed, Feb 10, 2016 at 10:20 AM, Anupam Kapoor <anupam.kapoor@xxxxxxxxx> 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

_______________________________________________
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