command to see Line number information from stabs

Aug 18, 2007 2 Replies

Hi, I am compiling a program in an elf file with .stab and .stabstr section. I want to see line number information provided in the stabstr section. Is there any utility which I can use? TIA



The '.stabstr' section doesn't provide any line number info; '.stab' does.

Try 'objdump --stabs a.out'

Cheers,

In order to understand recursion you must first understand recursion. Remove /-nsp/ for email.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required