summaryrefslogtreecommitdiff
path: root/gdb/bsd-kvm.c
diff options
context:
space:
mode:
authorBaurzhan Ismagulov <ibr@radix50.net>2005-01-29 17:53:26 +0000
committerBaurzhan Ismagulov <ibr@radix50.net>2005-01-29 17:53:26 +0000
commit0a52c50ccd4fdf4bd7c067ea89d122175308e3c2 (patch)
tree838edbaf91528413d2199b634a7163ded13b9587 /gdb/bsd-kvm.c
parent641c017adf4e34ab97ca5447e06891fb068179e5 (diff)
downloadgdb-0a52c50ccd4fdf4bd7c067ea89d122175308e3c2.tar.gz
2005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
* ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c, * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c, * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
Diffstat (limited to 'gdb/bsd-kvm.c')
-rw-r--r--gdb/bsd-kvm.c27
1 files changed, 15 insertions, 12 deletions
diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c
index e561b24cf0d..868ec8c13dc 100644
--- a/gdb/bsd-kvm.c
+++ b/gdb/bsd-kvm.c
@@ -205,7 +205,8 @@ bsd_kvm_fetch_registers (int regnum)
}
#endif
- error ("Cannot find a valid PCB");
+ /* i18n: PCB == "Process Control Block" */
+ error (_("Cannot find a valid PCB"));
}
@@ -226,10 +227,10 @@ bsd_kvm_proc_cmd (char *arg, int fromtty)
CORE_ADDR addr;
if (arg == NULL)
- error_no_arg ("proc address");
+ error_no_arg (_("proc address"));
if (core_kd == NULL)
- error ("No kernel memory image.");
+ error (_("No kernel memory image."));
addr = parse_and_eval_address (arg);
#ifdef HAVE_STRUCT_LWP
@@ -254,10 +255,11 @@ static void
bsd_kvm_pcb_cmd (char *arg, int fromtty)
{
if (arg == NULL)
- error_no_arg ("pcb address");
+ /* i18n: PCB == "Process Control Block" */
+ error_no_arg (_("pcb address"));
if (core_kd == NULL)
- error ("No kernel memory image.");
+ error (_("No kernel memory image."));
bsd_kvm_paddr = (struct pcb *)(u_long) parse_and_eval_address (arg);
@@ -279,9 +281,9 @@ bsd_kvm_add_target (int (*supply_pcb)(struct regcache *, struct pcb *))
bsd_kvm_supply_pcb = supply_pcb;
bsd_kvm_ops.to_shortname = "kvm";
- bsd_kvm_ops.to_longname = "Kernel memory interface";
- bsd_kvm_ops.to_doc = "Use a kernel virtual memory image as a target.\n\
-Optionally specify the filename of a core dump.";
+ bsd_kvm_ops.to_longname = _("Kernel memory interface");
+ bsd_kvm_ops.to_doc = _("Use a kernel virtual memory image as a target.\n\
+Optionally specify the filename of a core dump.");
bsd_kvm_ops.to_open = bsd_kvm_open;
bsd_kvm_ops.to_close = bsd_kvm_close;
bsd_kvm_ops.to_fetch_registers = bsd_kvm_fetch_registers;
@@ -294,14 +296,15 @@ Optionally specify the filename of a core dump.";
add_target (&bsd_kvm_ops);
- add_prefix_cmd ("kvm", class_obscure, bsd_kvm_cmd, "\
-Generic command for manipulating the kernel memory interface.",
+ add_prefix_cmd ("kvm", class_obscure, bsd_kvm_cmd, _("\
+Generic command for manipulating the kernel memory interface."),
&bsd_kvm_cmdlist, "kvm ", 0, &cmdlist);
#ifndef HAVE_STRUCT_THREAD_TD_PCB
add_cmd ("proc", class_obscure, bsd_kvm_proc_cmd,
- "Set current context from proc address", &bsd_kvm_cmdlist);
+ _("Set current context from proc address"), &bsd_kvm_cmdlist);
#endif
add_cmd ("pcb", class_obscure, bsd_kvm_pcb_cmd,
- "Set current context from pcb address", &bsd_kvm_cmdlist);
+ /* i18n: PCB == "Process Control Block" */
+ _("Set current context from pcb address"), &bsd_kvm_cmdlist);
}