X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fcoff-pe-read.c;h=b7f7b81ca88251e5b6dce444527b286abe5509f3;hb=6a053cb1ff643cec3349d7f2f47ae5573f82d613;hp=d0c1e050c891fbc438f6550ff66ad97748724d5d;hpb=456e800a63def18484f69a51f59c2338a5cc4568;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/coff-pe-read.c b/gdb/coff-pe-read.c index d0c1e050c8..b7f7b81ca8 100644 --- a/gdb/coff-pe-read.c +++ b/gdb/coff-pe-read.c @@ -266,7 +266,7 @@ add_pe_forwarded_sym (minimal_symbol_reader &reader, really be relocated properly, but nevertheless we make a stab at it, choosing an approach consistent with the history of this code. */ - baseaddr = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); + baseaddr = objfile->section_offsets[SECT_OFF_TEXT (objfile)]; reader.record_with_info (qualified_name.c_str (), vma - baseaddr, msymtype, section);