diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-12 00:39:24 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-12 00:39:24 +0000 |
commit | a3f171870f6bcdf091a0647c37e4e25c0020e4f4 (patch) | |
tree | 9a4149aa4f66939d74184a3853f77fdda5780215 /gdb/exec.c | |
parent | 07450571864fbcc902268dac8cfb90cfa8533289 (diff) | |
download | gdb-a3f171870f6bcdf091a0647c37e4e25c0020e4f4.zip gdb-a3f171870f6bcdf091a0647c37e4e25c0020e4f4.tar.gz gdb-a3f171870f6bcdf091a0647c37e4e25c0020e4f4.tar.bz2 |
2005-02-11 Andrew Cagney <cagney@gnu.org>
Mark up some of printf_filtered and printf_unfiltered.
* ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update.
* corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update.
* demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update.
* event-loop.c, event-top.c, exec.c, f-valprint.c: Update.
* gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update.
* infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update.
* linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update.
* mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update.
* ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update.
* remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update.
* stack.c, symfile.c, symmisc.c, target.c, thread.c: Update.
* top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update.
* cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update.
* tui/tui-regs.c, tui/tui-win.c: Update.
Diffstat (limited to 'gdb/exec.c')
-rw-r--r-- | gdb/exec.c | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -150,7 +150,7 @@ exec_file_clear (int from_tty) unpush_target (&exec_ops); if (from_tty) - printf_unfiltered ("No executable file now.\n"); + printf_unfiltered (_("No executable file now.\n")); } /* Process the first arg in ARGS as the new exec file. @@ -183,7 +183,7 @@ exec_file_attach (char *filename, int from_tty) if (!filename) { if (from_tty) - printf_unfiltered ("No executable file now.\n"); + printf_unfiltered (_("No executable file now.\n")); } else { @@ -527,10 +527,10 @@ print_section_info (struct target_ops *t, bfd *abfd) printf_filtered ("\t`%s', ", bfd_get_filename (abfd)); wrap_here (" "); - printf_filtered ("file type %s.\n", bfd_get_target (abfd)); + printf_filtered (_("file type %s.\n"), bfd_get_target (abfd)); if (abfd == exec_bfd) { - printf_filtered ("\tEntry point: "); + printf_filtered (_("\tEntry point: ")); print_address_numeric (bfd_get_start_address (abfd), 1, gdb_stdout); printf_filtered ("\n"); } @@ -544,14 +544,13 @@ print_section_info (struct target_ops *t, bfd *abfd) since most output will then be much wider than necessary. It may make sense to test the size of the file and choose the format string accordingly. */ + /* FIXME: i18n: Need to rewrite this sentence. */ if (info_verbose) printf_filtered (" @ %s", hex_string_custom (p->the_bfd_section->filepos, 8)); printf_filtered (" is %s", bfd_section_name (p->bfd, p->the_bfd_section)); if (p->bfd != abfd) - { - printf_filtered (" in %s", bfd_get_filename (p->bfd)); - } + printf_filtered (" in %s", bfd_get_filename (p->bfd)); printf_filtered ("\n"); } } @@ -565,7 +564,7 @@ exec_files_info (struct target_ops *t) { struct vmap *vp; - printf_unfiltered ("\tMapping info for file `%s'.\n", vmap->name); + printf_unfiltered (_("\tMapping info for file `%s'.\n"), vmap->name); printf_unfiltered ("\t %*s %*s %*s %*s %8.8s %s\n", strlen_paddr (), "tstart", strlen_paddr (), "tend", |