From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 9D4DD383FD74; Tue, 6 Dec 2022 16:01:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D4DD383FD74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1670342462; bh=DjCDkWNQLBYSqS3Cvkndj+ymfiMWCuIZzKBmhyImloY=; h=From:To:Subject:Date:From; b=EyX2PRsA6HfAa4+xBs7UwiSjE/IA+LxY0VlexuaQEqmxzv6TAGiNtZ/C2P7I+OcUN hOi5GEHMxUaupUzYz5ED9ZH4saI7hEe9ml8YWOzdrYtqucA/qd6pXoYw/OeYl9EoI6 9mdVnO+IKzABio7VPthn5nP/ke++aRvMJTdWpsKw= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Cosmetic fix in ppc-sysv-tdep.c X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: e03698c1227bc18835cc2e4a9146a8369635e119 X-Git-Newrev: 53fd08b60d8183af2a6a6820677bfd01716bc992 Message-Id: <20221206160102.9D4DD383FD74@sourceware.org> Date: Tue, 6 Dec 2022 16:01:02 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D53fd08b60d81= 83af2a6a6820677bfd01716bc992 commit 53fd08b60d8183af2a6a6820677bfd01716bc992 Author: Tom Tromey Date: Tue Dec 6 08:59:09 2022 -0700 Cosmetic fix in ppc-sysv-tdep.c =20 This is just a couple of cosmetic fixes in ppc-sysv-tdep.c: fixing some formatting and correcting a typo. Diff: --- gdb/ppc-sysv-tdep.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gdb/ppc-sysv-tdep.c b/gdb/ppc-sysv-tdep.c index 1cbaaf2a4e6..32d00723566 100644 --- a/gdb/ppc-sysv-tdep.c +++ b/gdb/ppc-sysv-tdep.c @@ -2157,13 +2157,14 @@ ppc64_sysv_abi_return_value (struct gdbarch *gdbarc= h, struct value *function, return RETURN_VALUE_STRUCT_CONVENTION; } =20 -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 stora= ge buffer when execution reaches the end of the function.