From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by sourceware.org (Postfix) with ESMTP id 2BC073857B99 for ; Thu, 7 Jul 2022 11:18:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2BC073857B99 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=loongson.cn Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=loongson.cn Received: from localhost.localdomain (unknown [117.136.50.201]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dxf9HywMZiQgAPAA--.2286S2; Thu, 07 Jul 2022 19:18:13 +0800 (CST) From: Tiezhu Yang To: gdb-patches@sourceware.org Subject: [OB COMMITTED PATCH] gdb: LoongArch: Fix typos in code comments Date: Thu, 7 Jul 2022 19:17:59 +0800 Message-Id: <20220707111759.7439-1-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf9Dxf9HywMZiQgAPAA--.2286S2 X-Coremail-Antispam: 1UD129KBjvJXoW3Gr43tF15JryrXFy8Ww43Awb_yoW7uw4rpF ZIkwn3KF48Wr1vqw13Jr15Zr1Svrs7Cr4UAr4xAry0kw1UGw1xZFn5GFyY9FyDWa1093WS vr4Fq3W29FyUX37anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUySb7Iv0xC_KF4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Xr0_Ar1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Cr0_Gr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I 8E87Iv6xkF7I0E14v26rxl6s0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI 64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8Jw Am72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41l42xK82IYc2Ij64vIr41l4I8I 3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxV WUGVWUWwC2zVAF1VAY17CE14v26r1j6r15MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAF wI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcI k0rVWrJr0_WFyUJwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v2 6r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x07jOb18UUUUU= X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Spam-Status: No, score=-10.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2022 11:18:18 -0000 "it’s" should be "it's". Signed-off-by: Tiezhu Yang --- gdb/loongarch-tdep.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/gdb/loongarch-tdep.c b/gdb/loongarch-tdep.c index 3add71b2a09..b8f28a2b142 100644 --- a/gdb/loongarch-tdep.c +++ b/gdb/loongarch-tdep.c @@ -555,7 +555,7 @@ loongarch_push_dummy_call (struct gdbarch *gdbarch, case TYPE_CODE_PTR: { /* integer or pointer type is passed in GAR. - * If no GAR is available, it’s passed on the stack. + * If no GAR is available, it's passed on the stack. * When passed in registers or on the stack, * the unsigned integer scalars are zero-extended to GRLEN bits, * and the signed integer scalars are sign-extended. */ @@ -586,7 +586,7 @@ loongarch_push_dummy_call (struct gdbarch *gdbarch, * If exactly one register is available, * the low-order GRLEN bits are passed in the register * and the high-order GRLEN bits are passed on the stack. - * If no GAR is available, it’s passed on the stack. */ + * If no GAR is available, it's passed on the stack. */ if (gar >= 2) { pass_in_gar (regcache, gar--, val); @@ -605,8 +605,8 @@ loongarch_push_dummy_call (struct gdbarch *gdbarch, else { /* The other floating-point type is passed in FAR. - * If no FAR is available, it’s passed in GAR. - * If no GAR is available, it’s passed on the stack. */ + * If no FAR is available, it's passed in GAR. + * If no GAR is available, it's passed on the stack. */ if (far > 0) pass_in_far (regcache, far--, val); else if (gar > 0) @@ -629,7 +629,7 @@ loongarch_push_dummy_call (struct gdbarch *gdbarch, { /* If there is an available GAR, * the structure is passed through the GAR by value passing; - * If no GAR is available, it’s passed on the stack. */ + * If no GAR is available, it's passed on the stack. */ if (gar > 0) pass_in_gar (regcache, gar--, val); else @@ -655,7 +655,7 @@ loongarch_push_dummy_call (struct gdbarch *gdbarch, * The argument is passed in a pair of available FAR, * with the low-order float member bits in the lower-numbered FAR * and the high-order float member bits in the higher-numbered FAR. - * If the number of available FAR is less than 2, it’s passed in a GAR, + * If the number of available FAR is less than 2, it's passed in a GAR, * and passed on the stack if no GAR is available. */ else if (floating_point_members == 2) { @@ -691,8 +691,8 @@ loongarch_push_dummy_call (struct gdbarch *gdbarch, * If one FAR and one GAR are available, * the floating-point member of the structure is passed in the FAR, * and the fixed-point member of the structure is passed in the GAR. - * If no floating-point register but one GAR is available, it’s passed in GAR; - * If no GAR is available, it’s passed on the stack. */ + * If no floating-point register but one GAR is available, it's passed in GAR; + * If no GAR is available, it's passed on the stack. */ else if (floating_point_members == 1 && fixed_point_members == 1) { if (far > 0 && gar > 0) @@ -783,7 +783,7 @@ loongarch_push_dummy_call (struct gdbarch *gdbarch, * with the low-order bits in the lower-numbered FAR * and the high-order bits in the higher-numbered FAR. * If no a pair of available FAR, - * it’s passed in a pair of available GAR, + * it's passed in a pair of available GAR, * with the low-order bits in the lower-numbered GAR * and the high-order bits in the higher-numbered GAR. * If only one GAR is available, @@ -825,11 +825,11 @@ loongarch_push_dummy_call (struct gdbarch *gdbarch, * the floating-point member of the structure is passed in the FAR, * and the fixed-point member of the structure is passed in the GAR; * If no floating-point registers but two GARs are available, - * it’s passed in the two GARs; + * it's passed in the two GARs; * If only one GAR is available, * the low-order bits are in the GAR * and the high-order bits are on the stack; - * And it’s passed on the stack if no GAR is available. */ + * And it's passed on the stack if no GAR is available. */ if (far > 0 && gar > 0) { if (first_member_is_fixed_point == false) @@ -886,7 +886,7 @@ loongarch_push_dummy_call (struct gdbarch *gdbarch, } else if (len > 2 * regsize) { - /* It’s passed by reference and are replaced in the argument list with the address. + /* It's passed by reference and are replaced in the argument list with the address. * If there is an available GAR, the reference is passed in the GAR, * and passed on the stack if no GAR is available. */ sp = align_down (sp - len, 16); @@ -936,7 +936,7 @@ loongarch_push_dummy_call (struct gdbarch *gdbarch, } else if (len > 2 * regsize) { - /* It’s passed by reference and are replaced in the argument list with the address. + /* It's passed by reference and are replaced in the argument list with the address. * If there is an available GAR, the reference is passed in the GAR, * and passed on the stack if no GAR is available. */ sp = align_down (sp - len, 16); @@ -959,7 +959,7 @@ loongarch_push_dummy_call (struct gdbarch *gdbarch, * is passed in a pair of available FAR, * with the low-order float member bits in the lower-numbered FAR * and the high-order float member bits in the higher-numbered FAR. - * If the number of available FAR is less than 2, it’s passed in a GAR, + * If the number of available FAR is less than 2, it's passed in a GAR, * and passed on the stack if no GAR is available. */ if (far >= 2) { @@ -982,7 +982,7 @@ loongarch_push_dummy_call (struct gdbarch *gdbarch, * with the low-order bits in the lower-numbered FAR * and the high-order bits in the higher-numbered FAR. * If no a pair of available FAR, - * it’s passed in a pair of available GAR, + * it's passed in a pair of available GAR, * with the low-order bits in the lower-numbered GAR * and the high-order bits in the higher-numbered GAR. * If only one GAR is available, -- 2.27.0