aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-cmd-break.c2
-rw-r--r--gdb/mi/mi-cmds.c2
-rw-r--r--gdb/mi/mi-console.c6
-rw-r--r--gdb/mi/mi-getopt.c2
-rw-r--r--gdb/mi/mi-out.c4
5 files changed, 8 insertions, 8 deletions
diff --git a/gdb/mi/mi-cmd-break.c b/gdb/mi/mi-cmd-break.c
index 4b39625..50a1cee 100644
--- a/gdb/mi/mi-cmd-break.c
+++ b/gdb/mi/mi-cmd-break.c
@@ -160,7 +160,7 @@ mi_cmd_break_insert (char *command, char **argv, int argc)
#endif
default:
internal_error (__FILE__, __LINE__,
- "mi_cmd_break_insert: Bad switch.");
+ _("mi_cmd_break_insert: Bad switch."));
}
deprecated_set_gdb_event_hooks (old_hooks);
diff --git a/gdb/mi/mi-cmds.c b/gdb/mi/mi-cmds.c
index 918676d..e174910 100644
--- a/gdb/mi/mi-cmds.c
+++ b/gdb/mi/mi-cmds.c
@@ -241,7 +241,7 @@ build_table (struct mi_cmd *commands)
struct mi_cmd **entry = lookup_table (command->name);
if (*entry)
internal_error (__FILE__, __LINE__,
- "command `%s' appears to be duplicated",
+ _("command `%s' appears to be duplicated"),
command->name);
*entry = command;
if (0)
diff --git a/gdb/mi/mi-console.c b/gdb/mi/mi-console.c
index aca0086..1df5e24 100644
--- a/gdb/mi/mi-console.c
+++ b/gdb/mi/mi-console.c
@@ -65,7 +65,7 @@ mi_console_file_delete (struct ui_file *file)
struct mi_console_file *mi_console = ui_file_data (file);
if (mi_console->magic != &mi_console_file_magic)
internal_error (__FILE__, __LINE__,
- "mi_console_file_delete: bad magic number");
+ _("mi_console_file_delete: bad magic number"));
xfree (mi_console);
}
@@ -93,7 +93,7 @@ mi_console_raw_packet (void *data,
struct mi_console_file *mi_console = data;
if (mi_console->magic != &mi_console_file_magic)
internal_error (__FILE__, __LINE__,
- "mi_console_file_transform: bad magic number");
+ _("mi_console_file_transform: bad magic number"));
if (length_buf > 0)
{
@@ -119,7 +119,7 @@ mi_console_file_flush (struct ui_file *file)
struct mi_console_file *mi_console = ui_file_data (file);
if (mi_console->magic != &mi_console_file_magic)
internal_error (__FILE__, __LINE__,
- "mi_console_file_flush: bad magic number");
+ _("mi_console_file_flush: bad magic number"));
ui_file_put (mi_console->buffer, mi_console_raw_packet, mi_console);
ui_file_rewind (mi_console->buffer);
}
diff --git a/gdb/mi/mi-getopt.c b/gdb/mi/mi-getopt.c
index 8d29957..052a84a 100644
--- a/gdb/mi/mi-getopt.c
+++ b/gdb/mi/mi-getopt.c
@@ -34,7 +34,7 @@ mi_getopt (const char *prefix,
/* We assume that argv/argc are ok. */
if (*optind > argc || *optind < 0)
internal_error (__FILE__, __LINE__,
- "mi_getopt_long: optind out of bounds");
+ _("mi_getopt_long: optind out of bounds"));
if (*optind == argc)
return -1;
arg = argv[*optind];
diff --git a/gdb/mi/mi-out.c b/gdb/mi/mi-out.c
index 2be9d17..361cf69 100644
--- a/gdb/mi/mi-out.c
+++ b/gdb/mi/mi-out.c
@@ -318,7 +318,7 @@ mi_open (struct ui_out *uiout,
fputc_unfiltered ('[', data->buffer);
break;
default:
- internal_error (__FILE__, __LINE__, "bad switch");
+ internal_error (__FILE__, __LINE__, _("bad switch"));
}
}
@@ -336,7 +336,7 @@ mi_close (struct ui_out *uiout,
fputc_unfiltered (']', data->buffer);
break;
default:
- internal_error (__FILE__, __LINE__, "bad switch");
+ internal_error (__FILE__, __LINE__, _("bad switch"));
}
data->suppress_field_separator = 0;
}