[PATCH][AArch64] change greg_t definition in ucontext.h

Carlos O'Donell carlos@redhat.com
Fri May 29 15:38:00 GMT 2015


On 05/28/2015 09:37 AM, Szabolcs Nagy wrote:
> it seems to be used in a few places (gdb, qemu,..)
> but always under a target specific ifdef to access
> greg_t members in mcontext.

Is it used for AArch64 though? As far as I can tell gdb
for AArch64 does not use greg_t.

Either way, the present definition is broken, so the user
could not have expected it to work in any way, but if the
type was embedded into a structure and unused, then you
might have an ABI breaking situation. I do not think you
are in that case because mcontext on AArch64 doesn't use
greg_t.

Cheers,
Carlos.



More information about the Libc-alpha mailing list