projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6769444
)
Fix 64 bit red zone frame size in AIX
author
Aditya Vidyadhar Kamath
<Aditya.Kamath1@ibm.com>
Fri, 25 Aug 2023 14:12:57 +0000
(09:12 -0500)
committer
Ulrich Weigand
<ulrich.weigand@de.ibm.com>
Fri, 25 Aug 2023 15:47:13 +0000
(17:47 +0200)
gdb/rs6000-aix-tdep.c
patch
|
blob
|
history
diff --git
a/gdb/rs6000-aix-tdep.c
b/gdb/rs6000-aix-tdep.c
index 829f55981ca9a25d02b467180984f49a4e22a79d..1894f60d01450861e5754b5cccf337fb489da376 100644
(file)
--- a/
gdb/rs6000-aix-tdep.c
+++ b/
gdb/rs6000-aix-tdep.c
@@
-1391,7
+1391,9
@@
rs6000_aix_init_osabi (struct gdbarch_info info, struct gdbarch *gdbarch)
224. */
set_gdbarch_frame_red_zone_size (gdbarch, 224);
else
- set_gdbarch_frame_red_zone_size (gdbarch, 0);
+ /* In 64 bit mode the red zone should have 18 8 byte GPRS + 18 8 byte
+ FPRS making it 288 bytes. This is 16 byte aligned as well. */
+ set_gdbarch_frame_red_zone_size (gdbarch, 288);
if (tdep->wordsize == 8)
set_gdbarch_wchar_bit (gdbarch, 32);