"Sandra" == Sandra Loosemore <sandra@codesourcery.com> writes:
Sandra> I'm seeing a build error:
Sandra> .../gdb/symmisc.c: In function 'dump_msymbols':
Sandra> .../gdb/symmisc.c:271:10: error: format '%ld' expects argument of type
Sandra> long int', but argument 3 has type 'int' [-Werror=format]
Oops, sorry about that. Please try the appended.
Tom
--- symmisc.c.~1.95.~ 2013-04-08 14:18:45.764743872 -0600
+++ symmisc.c 2013-04-08 19:13:07.605692663 -0600
@@ -268,7 +268,7 @@
section->the_bfd_section));
else
fprintf_filtered (outfile, " spurious section %ld",
- section - objfile->sections);
+ (long) (section - objfile->sections));
}
if (SYMBOL_DEMANGLED_NAME (msymbol) != NULL)
{