Don't call decode_line_with_current_source from select_source_symtab
[deliverable/binutils-gdb.git] / binutils / rdcoff.c
index 7e585691eb6e13194fd14a303d1c464a3fabf8dd..006f13b3aa015d96e2c25c89145bfe6313b806f1 100644 (file)
@@ -816,7 +816,7 @@ parse_coff (bfd *abfd, asymbol **syms, long symcount, void *dhandle)
                  else
                    base = auxent.x_sym.x_misc.x_lnsz.x_lnno - 1;
 
-                 addr = bfd_get_section_vma (abfd, bfd_get_section (sym));
+                 addr = bfd_section_vma (bfd_asymbol_section (sym));
 
                  ++linenos;
 
This page took 0.023024 seconds and 4 git commands to generate.