}
if (error_on_unknown)
- error (_("%s: Unknown option ``%s''"), prefix, arg + 1);
+ error (_("%s: Unknown option \"%s\""), prefix, arg + 1);
else
return -1;
}
if (gdbarch_sp_regnum (gdbarch) >= 0)
return value_of_register (gdbarch_sp_regnum (gdbarch),
get_next_frame_sentinel_okay (frame));
- error (_("Standard register ``$sp'' is not available for this target"));
+ error (_("Standard register \"$sp\" is not available for this target"));
}
static struct value *
if (gdbarch_ps_regnum (gdbarch) >= 0)
return value_of_register (gdbarch_ps_regnum (gdbarch),
get_next_frame_sentinel_okay (frame));
- error (_("Standard register ``$ps'' is not available for this target"));
+ error (_("Standard register \"$ps\" is not available for this target"));
}
INIT_GDB_FILE (frame_reg)
"reset radices"
gdb_test "set input-radix 0" \
- "Nonsense input radix ``decimal 0''; input radix unchanged\\." \
+ "Nonsense input radix \"decimal 0\"; input radix unchanged\\." \
"Reject input-radix 0"
gdb_test "show input-radix" \
"Default input radix for entering numbers is 10\\." \
"input radix unchanged after rejecting 0"
gdb_test "set input-radix 1" \
- "Nonsense input radix ``decimal 1''; input radix unchanged\\." \
+ "Nonsense input radix \"decimal 1\"; input radix unchanged\\." \
"Reject input-radix 1"
gdb_test "show input-radix" \
"Default input radix for entering numbers is 10\\." \
"input radix unchanged after rejecting 1"
gdb_test "set output-radix 0" \
- "Unsupported output radix ``decimal 0''; output radix unchanged\\." \
+ "Unsupported output radix \"decimal 0\"; output radix unchanged\\." \
"Reject output-radix 0"
gdb_test "show output-radix" \
"Default output radix for printing of values is 10\\." \
"Output radix unchanged after rejecting 0"
gdb_test "set output-radix 1" \
- "Unsupported output radix ``decimal 1''; output radix unchanged\\." \
+ "Unsupported output radix \"decimal 1\"; output radix unchanged\\." \
"Reject output-radix 1"
gdb_test "show output-radix" \
"Default output radix for printing of values is 10\\." \
"output radix unchanged after rejecting 1"
gdb_test "set radix 7" \
- "Unsupported output radix ``decimal 7''; output radix unchanged\\." \
+ "Unsupported output radix \"decimal 7\"; output radix unchanged\\." \
"set radix 7 rejected"
gdb_test "show output-radix" \
"Default output radix for printing of values is 10\\." \
clean_restart
#test set radix 11
- gdb_test "set radix 11" "Unsupported output radix ``decimal 11''; output radix unchanged..*"
+ gdb_test "set radix 11" "Unsupported output radix \"decimal 11\"; output radix unchanged..*"
#test set radix 16
gdb_test "set radix 16" "Input and output radices now set to decimal 16, hex 10, octal 20..*"
# Test with an unrecognized option.
proc test_trace_save_wrong_opt { } {
- set err_re [string_to_regexp "^error,msg=\"-trace-save: Unknown option ``hey''\""]
+ set err_re [string_to_regexp "^error,msg=\"-trace-save: Unknown option \\\"hey\\\"\""]
mi_gdb_test "-trace-save -hey" "$err_re" "-trace-save with wrong option"
}
if (radix < 2)
{
input_radix_1 = input_radix;
- error (_("Nonsense input radix ``decimal %u''; input radix unchanged."),
+ error (_("Nonsense input radix \"decimal %u\"; input radix unchanged."),
radix);
}
input_radix_1 = input_radix = radix;
break;
default:
output_radix_1 = output_radix;
- error (_("Unsupported output radix ``decimal %u''; "
+ error (_("Unsupported output radix \"decimal %u\"; "
"output radix unchanged."),
radix);
}