aboutsummaryrefslogtreecommitdiff
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
commit3d263c1d0a2f82fcf209a00e029b32ac8cf8f838 (patch)
tree4c8fcfbe635f21cba7c4165e70b9352247ec08a8 /gdb/bsd-kvm.c
parenta80493b821dfa3fee047adfb9250c41b4a2e211a (diff)
downloadgdb-3d263c1d0a2f82fcf209a00e029b32ac8cf8f838.zip
gdb-3d263c1d0a2f82fcf209a00e029b32ac8cf8f838.tar.gz
gdb-3d263c1d0a2f82fcf209a00e029b32ac8cf8f838.tar.bz2
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 e561b24..868ec8c 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);
}