From e2e0b3e57f11bb2539724fc955af7e22380613c1 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 11 Feb 2005 18:13:55 +0000 Subject: 2005-02-11 Andrew Cagney Mark up error_no_arg, query, perror_with_name, complaint, and internal_error. * breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update. * cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update. * dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update. * dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update. * exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update. * frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update. * gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update. * go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update. * i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update. * i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update. * infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update. * interps.c, language.c, linespec.c, linux-nat.c: Update. * m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update. * m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update. * macrotab.c, maint.c, mdebugread.c, memattr.c: Update. * mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update. * mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update. * objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update. * parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update. * ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update. * regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update. * remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update. * remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update. * s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update. * sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update. * solib-aix5.c, solib-svr4.c, solib.c, source.c: Update. * sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update. * symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update. * utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update. * win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update. * cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update. * cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update. * mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update. * tui/tui-file.c, tui/tui-interp.c: Update. --- gdb/ui-file.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'gdb/ui-file.c') diff --git a/gdb/ui-file.c b/gdb/ui-file.c index 6ad5414..5a2d047 100644 --- a/gdb/ui-file.c +++ b/gdb/ui-file.c @@ -162,7 +162,7 @@ ui_file_data (struct ui_file *file) { if (file->magic != &ui_file_magic) internal_error (__FILE__, __LINE__, - "ui_file_data: bad magic number"); + _("ui_file_data: bad magic number")); return file->to_data; } @@ -340,7 +340,7 @@ mem_file_delete (struct ui_file *file) struct mem_file *stream = ui_file_data (file); if (stream->magic != &mem_file_magic) internal_error (__FILE__, __LINE__, - "mem_file_delete: bad magic number"); + _("mem_file_delete: bad magic number")); if (stream->buffer != NULL) xfree (stream->buffer); xfree (stream); @@ -358,7 +358,7 @@ mem_file_rewind (struct ui_file *file) struct mem_file *stream = ui_file_data (file); if (stream->magic != &mem_file_magic) internal_error (__FILE__, __LINE__, - "mem_file_rewind: bad magic number"); + _("mem_file_rewind: bad magic number")); stream->length_buffer = 0; } @@ -370,7 +370,7 @@ mem_file_put (struct ui_file *file, struct mem_file *stream = ui_file_data (file); if (stream->magic != &mem_file_magic) internal_error (__FILE__, __LINE__, - "mem_file_put: bad magic number"); + _("mem_file_put: bad magic number")); if (stream->length_buffer > 0) write (dest, stream->buffer, stream->length_buffer); } @@ -383,7 +383,7 @@ mem_file_write (struct ui_file *file, struct mem_file *stream = ui_file_data (file); if (stream->magic != &mem_file_magic) internal_error (__FILE__, __LINE__, - "mem_file_write: bad magic number"); + _("mem_file_write: bad magic number")); if (stream->buffer == NULL) { stream->length_buffer = length_buffer; @@ -447,7 +447,7 @@ stdio_file_delete (struct ui_file *file) struct stdio_file *stdio = ui_file_data (file); if (stdio->magic != &stdio_file_magic) internal_error (__FILE__, __LINE__, - "stdio_file_delete: bad magic number"); + _("stdio_file_delete: bad magic number")); if (stdio->close_p) { fclose (stdio->file); @@ -461,7 +461,7 @@ stdio_file_flush (struct ui_file *file) struct stdio_file *stdio = ui_file_data (file); if (stdio->magic != &stdio_file_magic) internal_error (__FILE__, __LINE__, - "stdio_file_flush: bad magic number"); + _("stdio_file_flush: bad magic number")); fflush (stdio->file); } @@ -471,7 +471,7 @@ stdio_file_read (struct ui_file *file, char *buf, long length_buf) struct stdio_file *stdio = ui_file_data (file); if (stdio->magic != &stdio_file_magic) internal_error (__FILE__, __LINE__, - "stdio_file_read: bad magic number"); + _("stdio_file_read: bad magic number")); return read (fileno (stdio->file), buf, length_buf); } @@ -481,7 +481,7 @@ stdio_file_write (struct ui_file *file, const char *buf, long length_buf) struct stdio_file *stdio = ui_file_data (file); if (stdio->magic != &stdio_file_magic) internal_error (__FILE__, __LINE__, - "stdio_file_write: bad magic number"); + _("stdio_file_write: bad magic number")); fwrite (buf, length_buf, 1, stdio->file); } @@ -491,7 +491,7 @@ stdio_file_fputs (const char *linebuffer, struct ui_file *file) struct stdio_file *stdio = ui_file_data (file); if (stdio->magic != &stdio_file_magic) internal_error (__FILE__, __LINE__, - "stdio_file_fputs: bad magic number"); + _("stdio_file_fputs: bad magic number")); fputs (linebuffer, stdio->file); } @@ -501,7 +501,7 @@ stdio_file_isatty (struct ui_file *file) struct stdio_file *stdio = ui_file_data (file); if (stdio->magic != &stdio_file_magic) internal_error (__FILE__, __LINE__, - "stdio_file_isatty: bad magic number"); + _("stdio_file_isatty: bad magic number")); return (isatty (fileno (stdio->file))); } @@ -564,7 +564,7 @@ tee_file_delete (struct ui_file *file) struct tee_file *tee = ui_file_data (file); if (tee->magic != &tee_file_magic) internal_error (__FILE__, __LINE__, - "tee_file_delete: bad magic number"); + _("tee_file_delete: bad magic number")); if (tee->close_one) ui_file_delete (tee->one); if (tee->close_two) @@ -579,7 +579,7 @@ tee_file_flush (struct ui_file *file) struct tee_file *tee = ui_file_data (file); if (tee->magic != &tee_file_magic) internal_error (__FILE__, __LINE__, - "tee_file_flush: bad magic number"); + _("tee_file_flush: bad magic number")); tee->one->to_flush (tee->one); tee->two->to_flush (tee->two); } @@ -590,7 +590,7 @@ tee_file_write (struct ui_file *file, const char *buf, long length_buf) struct tee_file *tee = ui_file_data (file); if (tee->magic != &tee_file_magic) internal_error (__FILE__, __LINE__, - "tee_file_write: bad magic number"); + _("tee_file_write: bad magic number")); ui_file_write (tee->one, buf, length_buf); ui_file_write (tee->two, buf, length_buf); } @@ -601,7 +601,7 @@ tee_file_fputs (const char *linebuffer, struct ui_file *file) struct tee_file *tee = ui_file_data (file); if (tee->magic != &tee_file_magic) internal_error (__FILE__, __LINE__, - "tee_file_fputs: bad magic number"); + _("tee_file_fputs: bad magic number")); tee->one->to_fputs (linebuffer, tee->one); tee->two->to_fputs (linebuffer, tee->two); } @@ -612,6 +612,6 @@ tee_file_isatty (struct ui_file *file) struct tee_file *tee = ui_file_data (file); if (tee->magic != &tee_file_magic) internal_error (__FILE__, __LINE__, - "tee_file_isatty: bad magic number"); + _("tee_file_isatty: bad magic number")); return (0); } -- cgit v1.1