gdb.arch/amd64-gs_base.exp: Support non-Linux.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 7 Mar 2023 00:47:03 +0000 (16:47 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 7 Mar 2023 00:47:03 +0000 (16:47 -0800)
commitb1453f150c08b31e9c057224e523a721958fde02
treeeb9e95e77f146173e7d9b14f4eb7c38638c177a0
parenta06baa832c9be15ddc397336e093c657f347565c
gdb.arch/amd64-gs_base.exp: Support non-Linux.

The orig_rax pseudo-register is Linux-specific and isn't relevant to
this test.  The fs_base and gs_base registers are also not treated as
system registers in other OS ABIs.  This allows the test to pass on
FreeBSD.

Reviewed-By: Tom Tromey <tom@tromey.com>
gdb/testsuite/gdb.arch/amd64-gs_base.exp