diff options
Diffstat (limited to 'gdb/tui')
-rw-r--r-- | gdb/tui/tui-file.c | 14 | ||||
-rw-r--r-- | gdb/tui/tui-interp.c | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/gdb/tui/tui-file.c b/gdb/tui/tui-file.c index 5d2740e..1ceb47f 100644 --- a/gdb/tui/tui-file.c +++ b/gdb/tui/tui-file.c @@ -77,7 +77,7 @@ tui_file_delete (struct ui_file *file) struct tui_stream *tmpstream = ui_file_data (file); if (tmpstream->ts_magic != &tui_file_magic) internal_error (__FILE__, __LINE__, - "tui_file_delete: bad magic number"); + _("tui_file_delete: bad magic number")); if ((tmpstream->ts_streamtype == astring) && (tmpstream->ts_strbuf != NULL)) { @@ -124,7 +124,7 @@ tui_file_isatty (struct ui_file *file) struct tui_stream *stream = ui_file_data (file); if (stream->ts_magic != &tui_file_magic) internal_error (__FILE__, __LINE__, - "tui_file_isatty: bad magic number"); + _("tui_file_isatty: bad magic number")); if (stream->ts_streamtype == afile) return (isatty (fileno (stream->ts_filestream))); else @@ -137,7 +137,7 @@ tui_file_rewind (struct ui_file *file) struct tui_stream *stream = ui_file_data (file); if (stream->ts_magic != &tui_file_magic) internal_error (__FILE__, __LINE__, - "tui_file_rewind: bad magic number"); + _("tui_file_rewind: bad magic number")); stream->ts_strbuf[0] = '\0'; } @@ -149,7 +149,7 @@ tui_file_put (struct ui_file *file, struct tui_stream *stream = ui_file_data (file); if (stream->ts_magic != &tui_file_magic) internal_error (__FILE__, __LINE__, - "tui_file_put: bad magic number"); + _("tui_file_put: bad magic number")); if (stream->ts_streamtype == astring) write (dest, stream->ts_strbuf, strlen (stream->ts_strbuf)); } @@ -185,7 +185,7 @@ tui_file_get_strbuf (struct ui_file *file) struct tui_stream *stream = ui_file_data (file); if (stream->ts_magic != &tui_file_magic) internal_error (__FILE__, __LINE__, - "tui_file_get_strbuf: bad magic number"); + _("tui_file_get_strbuf: bad magic number")); return (stream->ts_strbuf); } @@ -198,7 +198,7 @@ tui_file_adjust_strbuf (int n, struct ui_file *file) int non_null_chars; if (stream->ts_magic != &tui_file_magic) internal_error (__FILE__, __LINE__, - "tui_file_adjust_strbuf: bad magic number"); + _("tui_file_adjust_strbuf: bad magic number")); if (stream->ts_streamtype != astring) return; @@ -225,7 +225,7 @@ tui_file_flush (struct ui_file *file) struct tui_stream *stream = ui_file_data (file); if (stream->ts_magic != &tui_file_magic) internal_error (__FILE__, __LINE__, - "tui_file_flush: bad magic number"); + _("tui_file_flush: bad magic number")); switch (stream->ts_streamtype) { diff --git a/gdb/tui/tui-interp.c b/gdb/tui/tui-interp.c index ced5dbd..d004b09 100644 --- a/gdb/tui/tui-interp.c +++ b/gdb/tui/tui-interp.c @@ -109,7 +109,7 @@ tui_display_prompt_p (void *data) static struct exception tui_exec (void *data, const char *command_str) { - internal_error (__FILE__, __LINE__, "tui_exec called"); + internal_error (__FILE__, __LINE__, _("tui_exec called")); } |