how to dump line number table
I am using RedHat 7.3 (long story). I have an object file with debug symbols including the line number table. I would like to be able to dump the line numbers in the object file with a range of address per line. Alternately, if I provide an address I'd like to get back the line number. I could probably take something like nm and hack it to death to produce what I want. I wonder if anything's already out there that'll do what I want. Any ideas?
I see SysV's dump(CP) has a -l option that dumps the line number information. Anything like that around?