This patch improves one of the compile error messages by mentioning the
language.
Before - No compiler support for this language.
After - No compiler support for language <language>.
gdb/ChangeLog:
2015-08-26 Luis Machado <lgustavo@codesourcery.com>
* compile/compile.c (compile_to_object): Mention language in
error message.
+2015-08-26 Luis Machado <lgustavo@codesourcery.com>
+
+ * compile/compile.c (compile_to_object): Mention language in
+ error message.
+
2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
* target.c (target_pre_inferior): Unset attach_flag.
/* Set up instance and context for the compiler. */
if (current_language->la_get_compile_instance == NULL)
- error (_("No compiler support for this language."));
+ error (_("No compiler support for language %s."),
+ current_language->la_name);
compiler = current_language->la_get_compile_instance ();
cleanup = make_cleanup (cleanup_compile_instance, compiler);