RFC: partially available registers
Pedro Alves
pedro@codesourcery.com
Fri Jul 22 19:10:00 GMT 2011
On Friday 22 July 2011 16:19:38, Tom Tromey wrote:
> >>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
>
> Pedro> # of expected passes 39
> Pedro> with an unpatched gdb (x86-64-linux), same as with patched gdb.
> Pedro> Is that expected?
>
> It definitely fails for me with unpatched gdb.
>
> Does your machine have AVX? I believe it will only fail on an
> AVX-capable machine.
Ah, that's it then. I was curious to know why were the
upper parts of the ymm unavailable.
Are you hitting:
regcache_raw_read ()
{
...
/* A number of targets can't access the whole set of raw
registers (because the debug API provides no means to get at
them). */
if (regcache->register_status[regnum] == REG_UNKNOWN)
regcache->register_status[regnum] = REG_UNAVAILABLE;
}
?
--
Pedro Alves
More information about the Gdb-patches
mailing list