diff options
author | Tom Tromey <tromey@adacore.com> | 2022-12-06 08:59:09 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-12-06 08:59:09 -0700 |
commit | 53fd08b60d8183af2a6a6820677bfd01716bc992 (patch) | |
tree | d1dac28b54f694203e17b0e2705d1a68e9caff84 /gdb | |
parent | e03698c1227bc18835cc2e4a9146a8369635e119 (diff) | |
download | binutils-53fd08b60d8183af2a6a6820677bfd01716bc992.zip binutils-53fd08b60d8183af2a6a6820677bfd01716bc992.tar.gz binutils-53fd08b60d8183af2a6a6820677bfd01716bc992.tar.bz2 |
Cosmetic fix in ppc-sysv-tdep.c
This is just a couple of cosmetic fixes in ppc-sysv-tdep.c: fixing
some formatting and correcting a typo.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ppc-sysv-tdep.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/ppc-sysv-tdep.c b/gdb/ppc-sysv-tdep.c index 1cbaaf2..32d0072 100644 --- a/gdb/ppc-sysv-tdep.c +++ b/gdb/ppc-sysv-tdep.c @@ -2157,13 +2157,14 @@ ppc64_sysv_abi_return_value (struct gdbarch *gdbarch, struct value *function, return RETURN_VALUE_STRUCT_CONVENTION; } -CORE_ADDR ppc64_sysv_get_return_buf_addr (struct type *val_type, - frame_info_ptr cur_frame) +CORE_ADDR +ppc64_sysv_get_return_buf_addr (struct type *val_type, + frame_info_ptr cur_frame) { /* The PowerPC ABI specifies aggregates that are not returned by value are returned in a storage buffer provided by the caller. The address of the storage buffer is provided as a hidden first input - arguement in register r3. The PowerPC ABI does not guarantee that + argument in register r3. The PowerPC ABI does not guarantee that register r3 will not be changed while executing the function. Hence, it cannot be assumed that r3 will still contain the address of the storage buffer when execution reaches the end of the function. |