aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-04-26 14:57:22 +0000
committerAndrew Cagney <cagney@redhat.com>2005-04-26 14:57:22 +0000
commit109c3e397e8c8c131128f2bcf6cea8b6ce6f2d51 (patch)
tree50ab4aa65866fe207f9839270050bad311d89d0f /gdb/linespec.c
parentdb5152b48da0a2ba407dac5516ab621063aa063c (diff)
downloadgdb-109c3e397e8c8c131128f2bcf6cea8b6ce6f2d51.zip
gdb-109c3e397e8c8c131128f2bcf6cea8b6ce6f2d51.tar.gz
gdb-109c3e397e8c8c131128f2bcf6cea8b6ce6f2d51.tar.bz2
2005-04-26 Andrew Cagney <cagney@gnu.org>
* remote.c (remote_open_1): Move "ex"'s declaration to where it is used. (remote_get_thread_local_address): Use throw_error, include a printed string. * linux-thread-db.c (thread_db_get_thread_local_address): Ditto. * dwarf2loc.c (dwarf_expr_tls_address): Ditto. * cli/cli-script.c (script_from_file): Mark up throw_error message. * linespec.c (symtab_from_filename, decode_variable): Ditto.
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r--gdb/linespec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c
index 8cf7a65..cf6e6f6 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -1529,7 +1529,7 @@ symtab_from_filename (char **argptr, char *p, int is_quote_enclosed,
error (_("No symbol table is loaded. Use the \"file\" command."));
if (not_found_ptr)
*not_found_ptr = 1;
- throw_error (NOT_FOUND_ERROR, "No source file named %s.", copy);
+ throw_error (NOT_FOUND_ERROR, _("No source file named %s."), copy);
}
/* Discard the file name from the arg. */
@@ -1741,7 +1741,7 @@ decode_variable (char *copy, int funfirstline, char ***canonical,
if (not_found_ptr)
*not_found_ptr = 1;
- throw_error (NOT_FOUND_ERROR, "Function \"%s\" not defined.", copy);
+ throw_error (NOT_FOUND_ERROR, _("Function \"%s\" not defined."), copy);
}