> The callers of fill_fprs expect the first floating point register to be > written to vals[0], but it's currently written to > vals[tdep->ppc_fp0_regnum] which can cause GDB to segfault as the > caller's buffer overflows. > > 2012-03-08 Chris January > > * aix-thread.c (fill_sprs): Store the floating point registers > at the correct offsets into vals. This looks right to me. I tested it on AIX for you and checked it in. While doing this, I looked at the opposite function, and found that it was ok, but with a regno meaning something different. The implementation in fill_sprs seems more natural to me, so I fixed supply_fprs as attached. Thanks again for the patch. PS: I reformatted your ChangeLog entry. We try to keep lines under 70 characters long, with a hard-limit at 80 characters... -- Joel