------- Additional Comments From qunyingpan at yahoo dot com 2005-06-06 16:50 ------- Subject: Re: "nm -l" doesn't work well on relocatable files
George, so you are debugging an executable (vmlinux), not a relocatable file when you see this problem, right? The problem reported here and the patch is fixing is only for a relocatable object, not an executable. Is it correct? Lu? Thanks, --- george at mvista dot com <[EMAIL PROTECTED]> wrote: > > ------- 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 reported the bug, or are watching the reporter. > You are on the CC list for the bug, or are watching > someone who is. > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils