{
if (filename)
throw_error (NOT_FOUND_ERROR,
- _("Function \"%s\" not defined in \"%ps\"."),
- symbol,
+ _("Function \"%ps\" not defined in \"%ps\"."),
+ styled_string (function_name_style.style (), symbol),
styled_string (file_name_style.style (), filename));
else
throw_error (NOT_FOUND_ERROR,
- _("Function \"%s\" not defined."), symbol);
+ _("Function \"%ps\" not defined."),
+ styled_string (function_name_style.style (), symbol));
}
}
{
if (function != NULL)
throw_error (NOT_FOUND_ERROR,
- _("No label \"%s\" defined in function \"%s\"."),
- label, function);
+ _("No label \"%s\" defined in function \"%ps\"."),
+ label,
+ styled_string (function_name_style.style (), function));
else
throw_error (NOT_FOUND_ERROR,
_("No label \"%s\" defined in current function."),
#include "gdbarch.h"
#include "rust-lang.h"
#include "ada-lang.h"
+#include "cli/cli-style.h"
/* Forward declarations. */
static struct value *value_subscripted_rvalue (struct value *array,
argvec.slice (1, 2 - static_memfuncp));
}
throw_error (NOT_FOUND_ERROR,
- _("member function %s not found"), tstr);
+ _("member function %ps not found"),
+ styled_string (function_name_style.style (), tstr));
}
/* We know that arg1 is a structure, so try to find a unary user
argvec.slice (1, nargs));
}
throw_error (NOT_FOUND_ERROR,
- _("member function %s not found"), tstr);
+ _("member function %ps not found"),
+ styled_string (function_name_style.style (), tstr));
}
\f