# This testcase is part of GDB, the GNU debugger.
-# Copyright 1988-2014 Free Software Foundation, Inc.
+# Copyright 1988-2015 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
test_set "set variable v_signed_char=126" "print v_signed_char" ".\[0-9\]* = 126 \'~\'" "set variable signed char=126 ('~')"
test_set "set variable v_signed_char=127" "print v_signed_char" ".\[0-9\]* = 127 \'.177\'" "set variable signed char=127 (8-bit)"
gdb_test_no_output "set variable v_signed_char=-1"
-if {!$gcc_compiled} then { setup_xfail "mips-sgi-irix4*" }
with_target_charset "ASCII" {
gdb_test "print v_signed_char" ".\[0-9\]* = -1 \'.377\'" \
}
gdb_test_no_output "set variable v_signed_char=0xFF"
-if {!$gcc_compiled} then { setup_xfail "mips-sgi-irix4*" }
with_target_charset "ASCII" {
gdb_test "print v_signed_char" ".\[0-9\]* = -1 \'.377\'" \