gdb_test "print \$fs_base = 2" "= 2" "set fs_base"
gdb_test "print \$gs_base = 3" "= 3" "set gs_base"
-# Test the presence of fs_base and gs_base on the system
-# register group and values.
+# Test the fs_base and gs_base values.
#
set ws "\[\t \]+"
-set info_reg_out [multi_line "info register sys" \
+set info_reg_out [multi_line "info register fs_base gs_base" \
"fs_base${ws}0x2${ws}2"\
- "gs_base${ws}0x3${ws}3"\
- "orig_rax${ws}$hex${ws}\[-\]$decimal" ]
+ "gs_base${ws}0x3${ws}3" ]
-gdb_test "info register sys" $info_reg_out\
+gdb_test "info register fs_base gs_base" $info_reg_out\
"info registers fs_base and gs_base with value"