This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/43828] Emit debug info allowing inlined functions to show in stack traces
- From: "wilson at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Apr 2010 22:40:13 -0000
- Subject: [Bug debug/43828] Emit debug info allowing inlined functions to show in stack traces
- References: <bug-43828-14600@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from wilson at codesourcery dot com 2010-04-23 22:40 -------
Subject: Re: New: Emit debug info allowing inlined functions
to show in stack traces
On 04/21/2010 02:26 AM, scovich at gmail dot com wrote:
> It would be very nice if gcc emitted debug information that allowed profilers
> and debuggers the option to extract a stack trace which included calls to
> inlined functions. This would allow developers much greater insight into the
> behavior of optimized code.
Try the -i option of addr2line.
Jim
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43828