Re: AMD64_LINUX_frame_size

Florian Weimer via Gdb
2021-01-11T10:43:16Z

* Walt Drummond via Gdb:

> Thanks Tom. My math shows the kernel sizes as
> Redzone 128
> math frame/xstate 840
> rt_sigframe 456
>
> That's a total of 1424 bytes, so maybe GDB is saving less than it should?

With AVX-512, the kernel size is way larger.

Do you know for what purpose GDB needs this information? Decoding the
xstate is quite complicated as far as I know. Is it related to
preserving stack contents across signal delivery?

Thanks,
Florian
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill