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.
This commit is contained in:
Tristan Gingold
2011-12-07 09:11:25 +00:00
parent 4b68bca3c1
commit 13b8d0c64f
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -229,9 +229,16 @@ macho_symtab_read (struct objfile *objfile,
}
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
{