amd64-linux-tdep: Don't treat fs_base and gs_base as system registers.
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)
commit3625712636b1411d2b980217e7dd1ca8a4c8c502
tree483dae7b02789f0f55f11b1f5387d19d29f7da46
parentb1453f150c08b31e9c057224e523a721958fde02
amd64-linux-tdep: Don't treat fs_base and gs_base as system registers.

These registers can be changed directly in userspace, and similar
registers to support TLS on other architectures (tpidr* on ARM and
AArch64, tp on RISC-V) are treated as general purpose registers.

Reviewed-By: Tom Tromey <tom@tromey.com>
gdb/amd64-linux-tdep.c