diff options
author | Aditya Vidyadhar Kamath <Aditya.Kamath1@ibm.com> | 2023-08-25 09:12:57 -0500 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2023-08-25 17:47:13 +0200 |
commit | 26fca3f1fe3739939094161e94a80723cab52420 (patch) | |
tree | de2f4efa793ef7d40165435c8206d268323acb6b | |
parent | 67694446f772ae95d330419eb6d01e38e6d24612 (diff) | |
download | gdb-26fca3f1fe3739939094161e94a80723cab52420.zip gdb-26fca3f1fe3739939094161e94a80723cab52420.tar.gz gdb-26fca3f1fe3739939094161e94a80723cab52420.tar.bz2 |
Fix 64 bit red zone frame size in AIX
-rw-r--r-- | gdb/rs6000-aix-tdep.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/rs6000-aix-tdep.c b/gdb/rs6000-aix-tdep.c index 829f559..1894f60 100644 --- 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); |