2004-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Committed by Andrew Cagney. * s390-tdep.c (s390_sigtramp_frame_unwind_cache): Account for alignment padding when accessing ucontext struct members.
This commit is contained in:
parent
8bf659e8f6
commit
f0f63663f0
|
@ -1,3 +1,9 @@
|
|||
2004-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
||||
|
||||
Committed by Andrew Cagney.
|
||||
* s390-tdep.c (s390_sigtramp_frame_unwind_cache): Account for
|
||||
alignment padding when accessing ucontext struct members.
|
||||
|
||||
2004-05-04 Jim Blandy <jimb@redhat.com>
|
||||
|
||||
* config/ppc-tdep.h (struct gdbarch_tdep): Delete
|
||||
|
|
|
@ -2153,7 +2153,7 @@ s390_sigtramp_frame_unwind_cache (struct frame_info *next_frame,
|
|||
ucontext (contains sigregs at offset 5 words) */
|
||||
if (next_ra == next_cfa)
|
||||
{
|
||||
sigreg_ptr = next_cfa + 8 + 128 + 5*word_size;
|
||||
sigreg_ptr = next_cfa + 8 + 128 + align_up (5*word_size, 8);
|
||||
}
|
||||
|
||||
/* Old-style RT frame and all non-RT frames:
|
||||
|
|
Loading…
Reference in New Issue