/* See annotate.h. */
-bool
+void
annotate_source_line (struct symtab *s, int line, int mid_statement,
CORE_ADDR pc)
{
if (s->line_charpos == nullptr)
open_source_file_with_line_charpos (s);
if (s->fullname == nullptr)
- return false;
+ return;
/* Don't index off the end of the line_charpos array. */
if (line > s->nlines)
- return false;
+ return;
annotate_source (s->fullname, line, s->line_charpos[line - 1],
mid_statement, get_objfile_arch (SYMTAB_OBJFILE (s)),
pc);
- return true;
}
- return false;
}