Use I386_GSBASE_REGNUM in i386fbsd_get_thread_local_address.
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 1 Apr 2022 20:16:46 +0000 (13:16 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 1 Apr 2022 20:16:46 +0000 (13:16 -0700)
commitc13566fdd5725d4c337a2741be02c12c4f430022
tree03bd83c8128e7af550f12afc6a476684efd00f3c
parentf3215e1526d762f005fdf86abac81da514c74e50
Use I386_GSBASE_REGNUM in i386fbsd_get_thread_local_address.

32-bit x86 arches always the I386_*BASE_REGNUM values.  Only code that
needs to support both 64-bit and 32-bit arches needs to use
tdep->fsbase_regnum to compute a segment base register number.
gdb/i386-fbsd-tdep.c