title: Convert address to source line in C program
body: <p>Inside my C program I'm getting function call stack by using <strong>backtrace</strong> and then function names by <strong>backtrace_symbols</strong>, using output of <strong>backtrace</strong>. The resulting strings contain function names and addresses of call initiating code, withing the function. Is there a way to convert those addresses into file names and line numbers? I mean by using C library (Linux only will work) of gcc extensions.
  Thanks in advance!</p>