greg_t aligned incorrecly (on s390).

schwidefsky@de.ibm.com schwidefsky@de.ibm.com
Thu May 31 06:39:00 GMT 2001


Hi,
DJ found a problem with the greg_t definition for s390. It needs to have
an 8 byte alignment to match the definitions in the kernel headers. This
caused trouble with gdb. ChangeLog & Patch:

2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>

     * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h:
     greg_t needs to have the same aligment as the kernel structure.

(See attached file: ucontext.diff)

blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ucontext.diff
Type: text/x-diff
Size: 566 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20010531/bd9d51a9/attachment.bin>


More information about the Libc-hacker mailing list