bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/990] "nm -l" doesn't work well on relocatable files


From: george at mvista dot com
Subject: [Bug ld/990] "nm -l" doesn't work well on relocatable files
Date: 6 Jun 2005 15:59:17 -0000

------- Additional Comments From george at mvista dot com  2005-06-06 15:59 
-------
Subject: Re:  "nm -l" doesn't work well on relocatable files

hjl at lucon dot org wrote:
> ------- Additional Comments From hjl at lucon dot org  2005-06-06 14:56 
> -------
> I checked in my patch. I will have a followup patch later.
> 
> nm and gdb may or may not share that piece of code. You need to file a gdb
> bug report.

The problem is knowing where the info gets lost.  My initial study seemed to 
indicate that it was ld that was doing it, thus this report.

> 
> BTW, does entry.S have dwarf debug info? does gdb get wrong line number on
> functions or just variables?

Yes, I use -gdwarf-2.  The wrong info shows up on "bt" into entry.S where gdb 
(run in emacs) shows the source file.  What is displayed, ususlly, is some 
header file.  This is line number/source related.  The reported function is the 
nearest preceeding label and seems to be right.
> 



-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=990

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]