Our documented style [1] is to use '_("foo")', not '_ ("foo")'.
Fix this in a few places.
[1] https://sourceware.org/gdb/wiki/Internals%20GDB-C-Coding-Standards#Gettext_macro
if (parent_it == entry_pool_offsets_to_entries.cend ())
{
- complaint (_ ("Parent entry not found for .debug_names entry"));
+ complaint (_("Parent entry not found for .debug_names entry"));
continue;
}
libthread_db. */
if (!linux_ns_same (inf->pid, LINUX_NS_PID))
{
- warning (_ ("Target and debugger are in different PID "
- "namespaces; thread lists and other data are "
- "likely unreliable. "
- "Connect to gdbserver inside the container."));
+ warning (_("Target and debugger are in different PID "
+ "namespaces; thread lists and other data are "
+ "likely unreliable. "
+ "Connect to gdbserver inside the container."));
}
}
}
if (regcache->cooked_read (RISCV_A7_REGNUM, &ret)
!= register_status::REG_VALID)
{
- warning (_ ("Can not read a7 register"));
+ warning (_("Can not read a7 register"));
return -1;
}
{
if (!have_full_symbols (current_program_space)
&& !have_partial_symbols (current_program_space))
- error (_ ("No symbol table is loaded. Use the \"file\" command."));
+ error (_("No symbol table is loaded. Use the \"file\" command."));
/* Pull in a current source symtab if necessary. */
current_source_location *loc = get_source_location (current_program_space);
|| ((have_full_symbols (current_program_space)
|| have_partial_symbols (current_program_space))
&& mainline))
- && !query (_ ("Load new symbol table from \"%s\"? "), name))
+ && !query (_("Load new symbol table from \"%s\"? "), name))
error (_("Not confirmed."));
if (mainline)
{
if (!have_full_symbols (current_program_space)
&& !have_partial_symbols (current_program_space))
- error (_ ("No symbol table is loaded. Use the \"file\" command."));
+ error (_("No symbol table is loaded. Use the \"file\" command."));
filename_partial_match_opts match_opts;
auto group = make_info_sources_options_def_group (&match_opts);
"), DEBUGDIR, DEBUGDIR_RELOCATABLE ? " (relocatable)" : "");
#ifdef ADDITIONAL_DEBUG_DIRS
- gdb_printf (stream, _ ("\
+ gdb_printf (stream, _("\
--with-additional-debug-dirs=%s\n\
"), ADDITIONAL_DEBUG_DIRS);
#endif