find_pc_mapped_section (sal.pc));
if (fn != nullptr && sfn != fn)
{
- if (!query (_("Line %ps is not in `%s'. Jump anyway? "),
+ if (!query (_("Line %ps is not in `%ps'. Jump anyway? "),
styled_string (line_number_style.style (),
pulongest (sal.line)),
- fn->print_name ()))
+ styled_string (function_name_style.style (),
+ fn->print_name ())))
{
error (_("Not confirmed."));
/* NOTREACHED */
int len = l->nitems;
for (int i = 0; i < len; i++)
{
- gdb_printf (outfile, _(" line %d at "), l->item[i].line);
+ gdb_printf (outfile, _(" line %ps at "),
+ styled_string (line_number_style.style (),
+ pulongest (l->item[i].line)));
fputs_styled (paddress (gdbarch, l->item[i].pc (objfile)),
address_style.style (), outfile);
if (l->item[i].is_stmt)
b->function ()->linkage_name ()));
if (b->function ()->demangled_name () != NULL)
{
- gdb_printf (outfile, ", %s",
- b->function ()->demangled_name ());
+ gdb_printf (outfile, ", %ps",
+ styled_string (function_name_style.style (),
+ b->function ()->demangled_name ()));
}
}
gdb_printf (outfile, "\n");