On 12/4/20 7:57 PM, Pedro Alves wrote: > On 12/4/20 12:38 PM, Tom de Vries wrote: >> Hi, >> >> With target board unix/-m32 I run into: >> ... >> (gdb) print /x $fs_base^M >> $1 = void^M >> (gdb) FAIL: gdb.arch/amd64-gs_base.exp: print fs_base >> ... >> >> The problem is that the fs_base register is not supported for i386. >> >> Fix this by making the test unsupported if fs_base/gs_base don't show up in >> info register sys output. > > > Why not check is_amd64_regs_target instead? > Agreed, that's simpler. Fixed in attached patch, will commit shortly. Thanks, - Tom