Re: How can I disable compile optimization in kernel for friendly debugging, Thanks

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

 



On Sat, 21 Apr 2018 21:15:10 +0800, Yubin Ruan said:

> From this, I have a related question, can I treat __builtin_return_address()
> as a "builtin" stack unwinder (but only check for return addresses, or, where
> a function is called).

It would seem possible, but it doesn't actually work that way. There's a reason why
the kernel includes its own stack unwinder.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://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