diff options
Diffstat (limited to 'gdb/bsd-kvm.c')
-rw-r--r-- | gdb/bsd-kvm.c | 27 |
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); } |