aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-01-07 20:24:18 +0000
committerMichael Snyder <msnyder@vmware.com>2011-01-07 20:24:18 +0000
commita743e5423cbb33c02296c19756d1d08511c4da69 (patch)
treeb4d9eea56bf3dcab1795b1dfe50624886b8cbb8d /gdb/mi
parent0963b4bd458eab010b3b19c9ffd8eb790f2cd06c (diff)
downloadgdb-a743e5423cbb33c02296c19756d1d08511c4da69.zip
gdb-a743e5423cbb33c02296c19756d1d08511c4da69.tar.gz
gdb-a743e5423cbb33c02296c19756d1d08511c4da69.tar.bz2
2011-01-07 Michael Snyder <msnyder@vmware.com>
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message for i18n. * tui/tui-layout.c (tui_set_layout_for_display_command): Split line so that operator goes to beginning of line. * tui/tui-winsource.c (tui_horizontal_source_scroll): Move assignment out of if statement.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-cmd-disas.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/mi/mi-cmd-disas.c b/gdb/mi/mi-cmd-disas.c
index 73d6373..1932ae2 100644
--- a/gdb/mi/mi-cmd-disas.c
+++ b/gdb/mi/mi-cmd-disas.c
@@ -128,12 +128,12 @@ mi_cmd_disassemble (char *command, char **argv, int argc)
if (!((line_seen && file_seen && num_seen && !start_seen && !end_seen)
|| (line_seen && file_seen && !num_seen && !start_seen && !end_seen)
|| (!line_seen && !file_seen && !num_seen && start_seen && end_seen)))
- error ("mi_cmd_disassemble: Usage: ( [-f filename -l linenum [-n "
- "howmany]] | [-s startaddr -e endaddr]) [--] mixed_mode.");
+ error (_("mi_cmd_disassemble: Usage: ( [-f filename -l linenum [-n "
+ "howmany]] | [-s startaddr -e endaddr]) [--] mixed_mode."));
if (argc != 1)
- error ("mi_cmd_disassemble: Usage: [-f filename -l "
- "linenum [-n howmany]] [-s startaddr -e endaddr] [--] mixed_mode.");
+ error (_("mi_cmd_disassemble: Usage: [-f filename -l linenum "
+ "[-n howmany]] [-s startaddr -e endaddr] [--] mixed_mode."));
mixed_source_and_assembly = atoi (argv[0]);
if ((mixed_source_and_assembly != 0) && (mixed_source_and_assembly != 1))