* machoread.c (macho_symtab_read): Do not consider N_OPT as
a debugging stab. Improve complaint message.
+2011-12-07 Tristan Gingold <gingold@adacore.com>
+
+ * machoread.c (macho_symtab_read): Do not consider N_OPT as
+ a debugging stab. Improve complaint message.
+
2011-12-07 Maciej W. Rozycki <macro@codesourcery.com>
* mips-tdep.c (mips32_scan_prologue): Only update the immediate
}
else if (sym->flags & BSF_DEBUGGING)
{
+ if (mach_o_sym->n_type == N_OPT)
+ {
+ /* No complaint for OPT. */
+ break;
+ }
+
/* Debugging symbols are not expected here. */
complaint (&symfile_complaints,
- _("Unexpected debug stab outside SO markers"));
+ _("%s: Unexpected debug stab outside SO markers"),
+ objfile->name);
}
else
{