X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fsymmisc.c;h=a5b17ffa3810e4c8a6b5440178515b651421e611;hb=6a053cb1ff643cec3349d7f2f47ae5573f82d613;hp=b6f1a986ca34dec05bbbe9bd77bf13e7cd0d4879;hpb=456e800a63def18484f69a51f59c2338a5cc4568;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/symmisc.c b/gdb/symmisc.c index b6f1a986ca..a5b17ffa38 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -240,8 +240,7 @@ dump_msymbols (struct objfile *objfile, struct ui_file *outfile) /* Use the relocated address as shown in the symbol here -- do not try to respect copy relocations. */ CORE_ADDR addr = (msymbol->value.address - + ANOFFSET (objfile->section_offsets, - msymbol->section)); + + objfile->section_offsets[msymbol->section]); fputs_filtered (paddress (gdbarch, addr), outfile); fprintf_filtered (outfile, " %s", msymbol->linkage_name ()); if (section)