This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A question about debug symbols in asm (x86)


Hi Qunying,

$ nm -l tt.o
00000010 T main         /home/test/test1.c:5
00000000 b test1_v1     /home/test/test2.c:2  <--wrong!
00000004 b test1_v2     /home/test/test2.c:3  <--wrong!
00000008 b test1_v3     /home/test/test2.c:7  <--wrong!
00000000 t test2_f1     /home/test/test2.c:2
00000008 t test2_f2     /home/test/test2.c:7

Any advise?

Yes - this was a bug that wqas recently fixed. Please try building a version of nm using the latest binutils sources on the mainline of the binutils CVS repository.

Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]